Cosmetics
This commit is contained in:
@@ -175,7 +175,7 @@ const char * eeRestoreModel(uint8_t i_fileDst, char *model_name);
|
||||
#endif
|
||||
|
||||
// For conversions
|
||||
void loadRadioSettingsSettings();
|
||||
void loadRadioSettings();
|
||||
void loadModel(int index, bool alarms=true);
|
||||
|
||||
bool eepromOpen();
|
||||
|
||||
@@ -149,11 +149,11 @@ const char * loadModel(const char * filename, bool alarms)
|
||||
return error;
|
||||
}
|
||||
|
||||
const char * loadRadioSettingsSettings()
|
||||
const char * loadRadioSettings()
|
||||
{
|
||||
const char * error = loadFile(RADIO_SETTINGS_PATH, (uint8_t *)&g_eeGeneral, sizeof(g_eeGeneral));
|
||||
if (error) {
|
||||
TRACE("loadRadioSettingsSettings error=%s", error);
|
||||
TRACE("loadRadioSettings error=%s", error);
|
||||
}
|
||||
|
||||
return error;
|
||||
@@ -189,7 +189,7 @@ void storageReadAll()
|
||||
{
|
||||
TRACE("storageReadAll");
|
||||
|
||||
if (loadRadioSettingsSettings() != nullptr) {
|
||||
if (loadRadioSettings() != nullptr) {
|
||||
storageEraseAll(true);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user