[TARANIS/HORUS] UNEXPECTED_SHUTDOWN() macro improved following @projectkk2glider advice
This commit is contained in:
@@ -412,7 +412,7 @@ uint32_t pwrPressedDuration(void);
|
||||
#else
|
||||
uint32_t pwroffPressed(void);
|
||||
#endif
|
||||
#define UNEXPECTED_SHUTDOWN() (g_eeGeneral.unexpectedShutdown)
|
||||
#define UNEXPECTED_SHUTDOWN() (WAS_RESET_BY_WATCHDOG() || g_eeGeneral.unexpectedShutdown)
|
||||
|
||||
// Backlight driver
|
||||
void backlightInit(void);
|
||||
|
||||
Reference in New Issue
Block a user