Skip to content

Commit

Permalink
FIX #114, #120: Restart monitor mode on PTT release, long press EXIT …
Browse files Browse the repository at this point in the history
…exits monitor mode
  • Loading branch information
egzumer committed Nov 23, 2023
1 parent d8d4384 commit ffdc0e0
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions app/app.c
Original file line number Diff line number Diff line change
Expand Up @@ -755,6 +755,9 @@ void APP_EndTransmission(void)
// send the CTCSS/DCS tail tone - allows the receivers to mute the usual FM squelch tail/crash
RADIO_EnableCxCSS();
RADIO_SetupRegisters(false);

if (gMonitor)
gFlagReconfigureVfos = true; //turn the monitor back on
}

#ifdef ENABLE_VOX
Expand Down Expand Up @@ -1715,6 +1718,9 @@ static void ProcessKey(KEY_Code_t Key, bool bKeyPressed, bool bKeyHeld)

// cancel user input
cancelUserInputModes();

if (gMonitor)
ACTION_Monitor(); //turn off the monitor
}

if (gScreenToDisplay == DISPLAY_MENU) // 1of11
Expand Down

0 comments on commit ffdc0e0

Please sign in to comment.