committed by
Peter Feerick
parent
733e272601
commit
9afae09f31
@@ -76,6 +76,8 @@ uint8_t findEmptyModel(uint8_t id, bool down);
|
||||
|
||||
#endif
|
||||
|
||||
bool storageReadRadioSettings(bool checks);
|
||||
|
||||
const char * loadRadioSettings();
|
||||
const char * writeGeneralSettings();
|
||||
|
||||
|
||||
@@ -475,3 +475,9 @@ const char * restoreModel(uint8_t idx, char *model_name)
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
bool storageReadRadioSettings(bool checks)
|
||||
{
|
||||
if (!sdMounted()) sdInit();
|
||||
return loadRadioSettingsYaml() == nullptr;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user