[TARANIS/HORUS] UNEXPECTED_SHUTDOWN() macro improved following @projectkk2glider advice

This commit is contained in:
Bertrand Songis
2016-12-19 23:11:37 +01:00
parent 1d42d329cf
commit 7da9aa811a
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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);