Reset Channel Number to 0 on Preset Change

This commit is contained in:
Jason P
2026-01-17 15:39:55 -06:00
parent 021106dfe5
commit 6905b87e54

View File

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