Skip to content

Commit d0fe91a

Browse files
authored
Merge pull request #543 from geeksville/pr-for4184
Add new critical fault codes for flash corruption
2 parents 9767488 + 77ed84c commit d0fe91a

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

meshtastic/mesh.proto

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1291,6 +1291,19 @@ enum CriticalErrorCode {
12911291
* If this occurs on your board, please post in the forum so that we can ask you to collect some information to allow fixing this bug
12921292
*/
12931293
RADIO_SPI_BUG = 11;
1294+
1295+
/*
1296+
* Corruption was detected on the flash filesystem but we were able to repair things.
1297+
* If you see this failure in the field please post in the forum because we are interested in seeing if this is occurring in the field.
1298+
*/
1299+
FLASH_CORRUPTION_RECOVERABLE = 12;
1300+
1301+
/*
1302+
* Corruption was detected on the flash filesystem but we were unable to repair things.
1303+
* NOTE: Your node will probably need to be reconfigured the next time it reboots (it will lose the region code etc...)
1304+
* If you see this failure in the field please post in the forum because we are interested in seeing if this is occurring in the field.
1305+
*/
1306+
FLASH_CORRUPTION_UNRECOVERABLE = 13;
12941307
}
12951308

12961309
/*

0 commit comments

Comments
 (0)