Skip to content

Commit

Permalink
fix: RP2040 LittleFS.info
Browse files Browse the repository at this point in the history
  • Loading branch information
ayushsharma82 authored Sep 14, 2024
1 parent 74e4cc8 commit b9aa6f8
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 @@ -178,7 +178,7 @@ void ElegantOTAClass::begin(ELEGANTOTA_WEBSERVER *server, const char * username,
} else {
FSInfo i;
LittleFS.begin();
LittleFS.info64(i);
LittleFS.info(i);
update_size = i.totalBytes - i.usedBytes;
}
// Start update process
Expand Down

0 comments on commit b9aa6f8

Please sign in to comment.