Merge pull request #543 from geeksville/pr-for4184

Add new critical fault codes for flash corruption
This commit is contained in:
Ben Meadors 2024-08-05 19:07:22 -05:00 committed by GitHub
commit d0fe91ab99
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1291,6 +1291,19 @@ enum CriticalErrorCode {
* 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
*/
RADIO_SPI_BUG = 11;
/*
* Corruption was detected on the flash filesystem but we were able to repair things.
* 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.
*/
FLASH_CORRUPTION_RECOVERABLE = 12;
/*
* Corruption was detected on the flash filesystem but we were unable to repair things.
* NOTE: Your node will probably need to be reconfigured the next time it reboots (it will lose the region code etc...)
* 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.
*/
FLASH_CORRUPTION_UNRECOVERABLE = 13;
}
/*