fix(radio): radio settings may be incorrect after changes made in storage mode (#6866)
This commit is contained in:
@@ -222,6 +222,8 @@ void storageReadAll()
|
||||
{
|
||||
TRACE("storageReadAll");
|
||||
|
||||
memset(&g_eeGeneral, 0, sizeof(g_eeGeneral));
|
||||
|
||||
#if defined(STORAGE_MODELSLIST)
|
||||
// Wipe models list in case
|
||||
// it's being reloaded after USB connection
|
||||
|
||||
@@ -63,7 +63,4 @@ bool storageReadRadioSettings(bool checks);
|
||||
const char * loadRadioSettings();
|
||||
const char * writeGeneralSettings();
|
||||
|
||||
const char * loadRadioSettings(const char * path);
|
||||
const char * loadRadioSettings();
|
||||
|
||||
void checkModelIdUnique(uint8_t index, uint8_t module);
|
||||
|
||||
Reference in New Issue
Block a user