Skip to content

Commit

Permalink
Update main.c: make sure monitor mode is disabled upon scan exit
Browse files Browse the repository at this point in the history
  • Loading branch information
prokrypt authored Jul 25, 2024
1 parent 0fa5b70 commit e2dcd98
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -555,6 +555,7 @@ static void MAIN_Key_EXIT(bool bKeyPressed, bool bKeyHeld)
else {
gScanKeepResult = false;
CHFRSCANNER_Stop();
gMonitor = false;

#ifdef ENABLE_VOICE
gAnotherVoiceID = VOICE_ID_SCANNING_STOP;
Expand Down

0 comments on commit e2dcd98

Please sign in to comment.