Re #3340: emergency mode is working, model settings survive WDT reset
This commit is contained in:
@@ -2550,6 +2550,10 @@ void opentxInit(OPENTX_INIT_ARGS)
|
|||||||
|
|
||||||
TRACE("opentxInit()");
|
TRACE("opentxInit()");
|
||||||
|
|
||||||
|
#if defined(RTCLOCK) && !defined(COPROCESSOR)
|
||||||
|
rtcInit(); // RTC must be initialized before rambackupRestore() is called
|
||||||
|
#endif
|
||||||
|
|
||||||
#if !defined(EEPROM)
|
#if !defined(EEPROM)
|
||||||
if (!UNEXPECTED_SHUTDOWN()) {
|
if (!UNEXPECTED_SHUTDOWN()) {
|
||||||
sdInit();
|
sdInit();
|
||||||
@@ -2607,10 +2611,6 @@ void opentxInit(OPENTX_INIT_ARGS)
|
|||||||
btInit();
|
btInit();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(RTCLOCK) && !defined(COPROCESSOR)
|
|
||||||
rtcInit();
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if defined(COLORLCD)
|
#if defined(COLORLCD)
|
||||||
loadTheme();
|
loadTheme();
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user