Skip to content

Commit

Permalink
fix examples
Browse files Browse the repository at this point in the history
  • Loading branch information
cotestatnt committed Jan 13, 2024
1 parent 4ff1cdc commit f551a51
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions examples/customHTML/customHTML.ino
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,9 @@ bool startFilesystem() {
*/
#ifdef ESP32
void getFsInfo(fsInfo_t* fsInfo) {
fsInfo->totalBytes = LittleFS.totalBytes();
fsInfo->usedBytes = LittleFS.usedBytes();
strcpy(fsInfo->fsName, "LittleFS");
fsInfo->fsName = "LittleFS";
fsInfo->totalBytes = LittleFS.totalBytes();
fsInfo->usedBytes = LittleFS.usedBytes();
}
#endif

Expand Down
6 changes: 3 additions & 3 deletions examples/customOptions/customOptions.ino
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,9 @@ bool startFilesystem() {
*/
#ifdef ESP32
void getFsInfo(fsInfo_t* fsInfo) {
fsInfo->totalBytes = LittleFS.totalBytes();
fsInfo->usedBytes = LittleFS.usedBytes();
strcpy(fsInfo->fsName, "LittleFS");
fsInfo->fsName = "LittleFS";
fsInfo->totalBytes = LittleFS.totalBytes();
fsInfo->usedBytes = LittleFS.usedBytes();
}
#endif

Expand Down

0 comments on commit f551a51

Please sign in to comment.