Skip to content

Commit

Permalink
fix: RP2040 impl
Browse files Browse the repository at this point in the history
  • Loading branch information
ayushsharma82 authored Sep 14, 2024
1 parent 3fcfd7e commit 74e4cc8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ElegantOTA.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 74e4cc8

Please sign in to comment.