mirror of
https://git.mirrors.martin98.com/https://github.com/luc-github/ESP3D.git
synced 2025-08-05 17:10:37 +08:00
Update esp_globalFS.cpp
Fix compilation error if no SD
This commit is contained in:
parent
719843525f
commit
542d791ec3
@ -527,9 +527,11 @@ time_t ESP_GBFile::getLastWrite()
|
||||
if (_type == FS_FLASH) {
|
||||
return _flashFile.getLastWrite();
|
||||
}
|
||||
#ifdef SD_DEVICE
|
||||
if (_type == FS_SD) {
|
||||
return _sdFile.getLastWrite();
|
||||
}
|
||||
#endif //SD_DEVICE
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user