mirror of
https://github.com/meshtastic/firmware.git
synced 2025-05-02 12:03:56 +00:00
trunk fmt
This commit is contained in:
parent
b63997b36f
commit
81ecd6d926
@ -221,7 +221,7 @@ bool fsCheck()
|
|||||||
if (file.open(filename, FILE_O_WRITE)) {
|
if (file.open(filename, FILE_O_WRITE)) {
|
||||||
write_size = file.write(text);
|
write_size = file.write(text);
|
||||||
} else {
|
} else {
|
||||||
LOG_DEBUG("Open file failed .\n");;
|
LOG_DEBUG("Open file failed .\n");
|
||||||
goto FORMAT_FS;
|
goto FORMAT_FS;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -295,7 +295,8 @@ void fsInit()
|
|||||||
// Can add a screen to display error status later.
|
// Can add a screen to display error status later.
|
||||||
if (!ret) {
|
if (!ret) {
|
||||||
while (1) {
|
while (1) {
|
||||||
Serial.println("The file system is damaged and cannot proceed to the next step.\n"); delay(1000);
|
Serial.println("The file system is damaged and cannot proceed to the next step.\n");
|
||||||
|
delay(1000);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
|
Loading…
Reference in New Issue
Block a user