diff --git a/src/ElegantOTA.cpp b/src/ElegantOTA.cpp index 42b8477..5b7ba4b 100644 --- a/src/ElegantOTA.cpp +++ b/src/ElegantOTA.cpp @@ -176,7 +176,7 @@ void ElegantOTAClass::begin(ELEGANTOTA_WEBSERVER *server, const char * username, update_size = ((size_t)&_FS_end - (size_t)&_FS_start); LittleFS.end(); } else { - FSInfo64 i; + FSInfo i; LittleFS.begin(); LittleFS.info64(i); update_size = i.totalBytes - i.usedBytes;