fix(bw): changing some model and radio settings does not update corresponding yaml file (#6111)

This commit is contained in:
philmoz
2025-04-21 08:44:34 +10:00
committed by GitHub
parent 8f6f4cc07c
commit 91f971538c
3 changed files with 8 additions and 3 deletions
+3
View File
@@ -690,6 +690,7 @@ void menuModelCFSOne(event_t event)
if (config == SWITCH_TOGGLE) {
FSWITCH_SET_STARTUP(cfsIndex, FS_START_PREVIOUS); // Toggle switches do not have startup position
}
storageDirty(EE_MODEL);
}
break;
@@ -709,6 +710,7 @@ void menuModelCFSOne(event_t event)
FSWITCH_SET_STARTUP(cfsIndex, FS_START_PREVIOUS);
}
setGroupSwitchState(oldGroup);
storageDirty(EE_MODEL);
}
break;
@@ -718,6 +720,7 @@ void menuModelCFSOne(event_t event)
if (attr) {
startPos = checkIncDec(event, startPos, FS_START_ON, FS_START_PREVIOUS, EE_MODEL);
FSWITCH_SET_STARTUP(cfsIndex, startPos);
storageDirty(EE_MODEL);
}
break;