refactor: IWDG driver and EM trigger (#3846)

This commit is contained in:
Raphael Coeffic
2023-12-04 07:14:25 +10:00
committed by GitHub
parent e18a2a90a4
commit 5153aaeea0
89 changed files with 1204 additions and 3202 deletions
+16
View File
@@ -76,6 +76,22 @@ const unsigned char icons[] = {
#define ICON_REBOOT 91, 11
#define ICON_ALTITUDE 102, 9
#if defined(ASTERISK) || !defined(USE_WATCHDOG) || defined(LOG_TELEMETRY) || \
defined(LOG_BLUETOOTH) || defined(DEBUG_LATENCY)
static bool isAsteriskDisplayed() {
return true;
}
#else
#include "hal/abnormal_reboot.h"
static bool isAsteriskDisplayed() {
return UNEXPECTED_SHUTDOWN();
}
#endif
void doMainScreenGraphics()
{
int16_t calibStickVert = calibratedAnalogs[ADC_MAIN_LV];