Reset override_frequency to ensure we correctly move to new Radio Preset

This commit is contained in:
Jason P
2026-01-17 23:46:44 -06:00
parent c9eceb0c66
commit 3d7d6dc771

View File

@@ -348,7 +348,8 @@ void menuHandler::RadioPresetPicker()
}
config.lora.modem_preset = option.value;
config.lora.channel_num = 0; // Reset to default channel for the preset
config.lora.channel_num = 0; // Reset to default channel for the preset
config.lora.override_frequency = 0; // Clear any custom frequency
service->reloadConfig(SEGMENT_CONFIG);
rebootAtMsec = (millis() + DEFAULT_REBOOT_SECONDS * 1000);
});