Skip to content

Commit

Permalink
Monitor mode bypasses TX lock
Browse files Browse the repository at this point in the history
  • Loading branch information
xawen committed Mar 4, 2024
1 parent 56ffd7d commit 29c5f95
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/radio.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion task/incoming.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 29c5f95

Please sign in to comment.