Prevent FM start during active VFO RX

This commit is contained in:
Armel FAUVEAU committed 2026-08-24 00:14:40 +02:00
1 parent 04a80916a2
commit e1dfbde590
1 file changed
+8
+8
View File
@@ -482,6 +482,14 @@ void ACTION_FM(void)
return;
}
// Do not start broadcast FM while a VFO reception is already active.
// Keeping this check after the block above ensures EXIT can still
// turn FM off if the UI ever reaches DISPLAY_MAIN with FM mode active.
if (FUNCTION_IsRx()) {
gBeepToPlay = BEEP_500HZ_60MS_DOUBLE_BEEP_OPTIONAL;
return;
}
gMonitor = false;
if (gScanStateDir != SCAN_OFF) {