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()");
|
||||
|
||||
#if defined(RTCLOCK) && !defined(COPROCESSOR)
|
||||
rtcInit(); // RTC must be initialized before rambackupRestore() is called
|
||||
#endif
|
||||
|
||||
#if !defined(EEPROM)
|
||||
if (!UNEXPECTED_SHUTDOWN()) {
|
||||
sdInit();
|
||||
@@ -2607,10 +2611,6 @@ void opentxInit(OPENTX_INIT_ARGS)
|
||||
btInit();
|
||||
#endif
|
||||
|
||||
#if defined(RTCLOCK) && !defined(COPROCESSOR)
|
||||
rtcInit();
|
||||
#endif
|
||||
|
||||
#if defined(COLORLCD)
|
||||
loadTheme();
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user