Load radio settings before power on delay is evaluated

Resolves #1366
This commit is contained in:
Raphael Coeffic
2022-01-10 11:10:49 +10:00
committed by Peter Feerick
parent 733e272601
commit 9afae09f31
3 changed files with 15 additions and 1 deletions
+7 -1
View File
@@ -1778,8 +1778,14 @@ void opentxInit()
menuHandlers[1] = menuModelSelect;
#endif
#if defined(EEPROM)
#if defined(STARTUP_ANIMATION)
lcdRefreshWait();
lcdClear();
lcdRefresh();
lcdRefreshWait();
bool radioSettingsValid = storageReadRadioSettings(false);
(void)radioSettingsValid;
#endif
BACKLIGHT_ENABLE(); // we start the backlight during the startup animation