mirror of
https://github.com/meshtastic/firmware.git
synced 2025-08-12 00:09:43 +00:00
8 lines
250 B
C
8 lines
250 B
C
#pragma once
|
|
|
|
/// Error codes for critical error
|
|
enum CriticalErrorCode { NoError, ErrTxWatchdog, ErrSleepEnterWait };
|
|
|
|
/// Record an error that should be reported via analytics
|
|
void recordCriticalError(CriticalErrorCode code, uint32_t address = 0);
|