improve error descriptions

This commit is contained in:
Kevin Hester 2020-12-26 13:55:59 +08:00
parent 4a653ab054
commit 8d04410f45

View File

@ -9,15 +9,23 @@
*/ */
enum CriticalErrorCode { enum CriticalErrorCode {
NoError = 0, NoError = 0,
/// A software bug was detected while trying to send lora packets
ErrTxWatchdog = 1, ErrTxWatchdog = 1,
/// A software bug was detected on entry to sleep
ErrSleepEnterWait = 2, ErrSleepEnterWait = 2,
// No Lora radio hardware could be found /// No Lora radio hardware could be found
ErrNoRadio = 3, ErrNoRadio = 3,
/// Not normally used
ErrUnspecified = 4, ErrUnspecified = 4,
/// We failed while configuring a UBlox GPS
ErrUBloxInitFailed = 5, ErrUBloxInitFailed = 5,
// This board was expected to have a power management chip and it is missing or broken /// This board was expected to have a power management chip and it is missing or broken
ErrNoAXP192 = 6 ErrNoAXP192 = 6
}; };