diff --git a/src/error.h b/src/error.h index 9b50f670..b3926c9d 100644 --- a/src/error.h +++ b/src/error.h @@ -9,15 +9,23 @@ */ enum CriticalErrorCode { NoError = 0, + + /// A software bug was detected while trying to send lora packets ErrTxWatchdog = 1, + + /// A software bug was detected on entry to sleep ErrSleepEnterWait = 2, - // No Lora radio hardware could be found + /// No Lora radio hardware could be found ErrNoRadio = 3, + + /// Not normally used ErrUnspecified = 4, + + /// We failed while configuring a UBlox GPS 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 };