refactor: IWDG driver and EM trigger (#3846)
This commit is contained in:
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user