fix(radio): radio settings may be incorrect after changes made in storage mode (#6866)

This commit is contained in:
philmoz
2025-12-12 10:42:55 +10:00
committed by GitHub
parent 9fa9620f08
commit 18c762ccb1
2 changed files with 2 additions and 3 deletions
+2
View File
@@ -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
-3
View File
@@ -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);