mirror of
https://github.com/meshtastic/firmware.git
synced 2025-04-28 10:42:08 +00:00
improve error descriptions
This commit is contained in:
parent
4a653ab054
commit
8d04410f45
12
src/error.h
12
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
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user