1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-25 01:05:10 +03:00

Emergency mode now working

This commit is contained in:
Damjan Adamic 2016-03-11 21:24:09 +01:00
parent 5b7853029c
commit 03988a3a62

View file

@ -257,7 +257,7 @@ void pwrOff(void);
void pwrResetHandler(void);
uint32_t pwrPressed(void);
uint32_t pwrPressedDuration(void);
#define UNEXPECTED_SHUTDOWN() (false) // (g_eeGeneral.unexpectedShutdown)
#define UNEXPECTED_SHUTDOWN() (WAS_RESET_BY_WATCHDOG())
// Led driver
void ledOff(void);