Add new fault codes

This commit is contained in:
Kevin Hester 2021-05-01 11:22:19 +08:00
parent 157f9891dd
commit bd9a80d2bb
2 changed files with 8 additions and 0 deletions

View file

@ -750,6 +750,8 @@ and we'll try to help.
| InvalidRadioSetting | 7 | The channel tried to set a radio setting which is not supported by this chipset, radio comms settings are now undefined. |
| TransmitFailed | 8 | Radio transmit hardware failure. We sent data to the radio chip, but it didn't reply with an interrupt. |
| Brownout | 9 | We detected that the main CPU voltage dropped below the minumum acceptable value |
| SX1262Failure | 10 | Selftest of SX1262 radio chip failed |
| RadioSpiBug | 11 | A (likely software but possibly hardware) failure was detected while trying to send packets. 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 |

View file

@ -651,6 +651,12 @@ enum CriticalErrorCode {
/* We detected that the main CPU voltage dropped below the minumum acceptable value */
Brownout = 9;
/* Selftest of SX1262 radio chip failed */
SX1262Failure = 10;
/* A (likely software but possibly hardware) failure was detected while trying to send packets. 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 */
RadioSpiBug = 11;
}
/*