mirror of
https://github.com/armel/uv-k1-k5v3-firmware-custom.git
synced 2026-10-02 03:15:37 +00:00
Prevent FM start during active VFO RX
This commit is contained in:
1 parent
04a80916a2
commit
e1dfbde590
1 file changed
+8
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user