mirror of
https://github.com/meshtastic/firmware.git
synced 2025-02-04 11:49:58 +00:00
10 lines
317 B
C
10 lines
317 B
C
#pragma once
|
|
|
|
#include <Arduino.h>
|
|
|
|
/// Error codes for critical error
|
|
enum CriticalErrorCode { NoError, ErrTxWatchdog, ErrSleepEnterWait, ErrNoRadio, ErrUnspecified, UBloxInitFailed };
|
|
|
|
/// Record an error that should be reported via analytics
|
|
void recordCriticalError(CriticalErrorCode code, uint32_t address = 0);
|