diff options
| author | David Barksdale <amatus@amat.us> | 2026-07-16 11:37:53 -0500 |
|---|---|---|
| committer | David Barksdale <amatus@amat.us> | 2026-07-16 11:37:53 -0500 |
| commit | 1fd2498d7708b3858a21acf22f8533e5992f6e6d (patch) | |
| tree | 796253e0ff99a3faab7e6e99ed4b8ec033929bbd /examples/smartresponse_public/PublicApp.cpp | |
| parent | 314a851f71a7f3d7cd699a33bf259130ced2698e (diff) | |
Rewrite debug screen: more descriptive and accuratesmart
Diffstat (limited to 'examples/smartresponse_public/PublicApp.cpp')
| -rw-r--r-- | examples/smartresponse_public/PublicApp.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/examples/smartresponse_public/PublicApp.cpp b/examples/smartresponse_public/PublicApp.cpp index 5073f324..1b711b61 100644 --- a/examples/smartresponse_public/PublicApp.cpp +++ b/examples/smartresponse_public/PublicApp.cpp @@ -176,17 +176,17 @@ bool PublicApp::validateRadioSettings(const RadioSettings& settings) { const char* PublicApp::getResetCauseText() const { #ifdef WDRF if (_reset_cause & _BV(WDRF)) { - return "WDT"; + return "watchdog"; } #endif #ifdef BORF if (_reset_cause & _BV(BORF)) { - return "BOR"; + return "brownout"; } #endif #ifdef EXTRF if (_reset_cause & _BV(EXTRF)) { - return "EXT"; + return "external pin"; } #endif #ifdef JTRF @@ -196,10 +196,10 @@ const char* PublicApp::getResetCauseText() const { #endif #ifdef PORF if (_reset_cause & _BV(PORF)) { - return "PWR"; + return "power-on"; } #endif - return "---"; + return "unknown"; } char PublicApp::getWatchdogStage() const { |
