From 29c5f958ca5ae98f2952ba4a36023ba7883fb1d1 Mon Sep 17 00:00:00 2001 From: xawen Date: Sat, 17 Feb 2024 17:37:11 -0500 Subject: [PATCH] Monitor mode bypasses TX lock --- app/radio.c | 2 +- task/incoming.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/radio.c b/app/radio.c index c4a24b0..9450c82 100644 --- a/app/radio.c +++ b/app/radio.c @@ -300,7 +300,7 @@ void RADIO_StartRX(void) UI_DrawMainBitmap(false, gSettings.CurrentVfo); UI_DrawRX(gCurrentVfo); } - if (gMainVfo->BCL == BUSY_LOCK_CSS) { + if (gMainVfo->BCL == BUSY_LOCK_CSS && !gMonitorMode) { PTT_SetLock(PTT_LOCK_BUSY); } if (gSettings.TxPriority && gSettings.CurrentVfo != gCurrentVfo) { diff --git a/task/incoming.c b/task/incoming.c index c9c9fa5..7ccb7e9 100644 --- a/task/incoming.c +++ b/task/incoming.c @@ -58,7 +58,7 @@ void Task_CheckIncoming(void) if (gRxLinkCounter++ > 5) { gRxLinkCounter = 0; gSaveModeTimer = 300; - if (gMainVfo->BCL == BUSY_LOCK_CARRIER && !gFrequencyDetectMode) { + if (gMainVfo->BCL == BUSY_LOCK_CARRIER && !gFrequencyDetectMode && !gMonitorMode) { PTT_SetLock(PTT_LOCK_INCOMING); } gRadioMode = RADIO_MODE_INCOMING;