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
+6
View File
@@ -475,3 +475,9 @@ const char * restoreModel(uint8_t idx, char *model_name)
}
#endif
bool storageReadRadioSettings(bool checks)
{
if (!sdMounted()) sdInit();
return loadRadioSettingsYaml() == nullptr;
}