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
@@ -59,6 +59,22 @@
#define CLOCK_X 53
#define CLOCK_Y 57
#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 drawExternalAntennaAndRSSI()
{
#if defined(INTERNAL_MODULE_PXX1) && defined(EXTERNAL_ANTENNA)