Do not try to convert the eeprom until radio is fully ON. (#6668)

This commit is contained in:
Raphael Coeffic
2019-08-27 10:20:03 +02:00
committed by Bertrand Songis
parent 3531e29cad
commit f9903dca66
7 changed files with 30 additions and 10 deletions
+3 -1
View File
@@ -1817,7 +1817,8 @@ void opentxInit()
#endif
#if defined(EEPROM)
storageReadRadioSettings();
storageClearRadioSetting();
storageReadRadioSettings(false);
#endif
BACKLIGHT_ENABLE(); // we start the backlight during the startup animation
@@ -1876,6 +1877,7 @@ void opentxInit()
#endif
#if defined(EEPROM)
storageReadRadioSettings(true);
storageReadCurrentModel();
#endif