1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-04-19 23:22:16 +03:00
This commit is contained in:
david gauchard 2022-06-15 23:37:42 +02:00
parent 494e51f2bb
commit 92fed38747
2 changed files with 13 additions and 13 deletions

View File

@ -46,7 +46,7 @@ bool migrateFS() {
Serial.println(F("Alternative found")); Serial.println(F("Alternative found"));
if (fstools.moveFS(LittleFS)) { if (fstools.moveFS(LittleFS)) {
Serial.println(F("FileSystem Moved New FS contents:")); Serial.println(F("FileSystem Moved New FS contents:"));
fstools.fileListIterator(LittleFS, "/", [](File & f) { fstools.fileListIterator(LittleFS, "/", [](File& f) {
Serial.printf_P(PSTR(" File: %-30s [%8uB]\n"), f.fullName(), f.size()); Serial.printf_P(PSTR(" File: %-30s [%8uB]\n"), f.fullName(), f.size());
}); });
return true; return true;

View File

@ -53,7 +53,7 @@ bool migrateFS() {
Serial.println(F("Alternative found")); Serial.println(F("Alternative found"));
if (fstools.moveFS(LittleFS_Different)) { if (fstools.moveFS(LittleFS_Different)) {
Serial.println(F("FileSystem Moved New FS contents:")); Serial.println(F("FileSystem Moved New FS contents:"));
fstools.fileListIterator(LittleFS_Different, "/", [](File & f) { fstools.fileListIterator(LittleFS_Different, "/", [](File& f) {
Serial.printf_P(PSTR(" File: %-30s [%8uB]\n"), f.fullName(), f.size()); Serial.printf_P(PSTR(" File: %-30s [%8uB]\n"), f.fullName(), f.size());
}); });
return true; return true;