Skip to content

Commit

Permalink
RF Scan/Copy "Main Menu" option fix
Browse files Browse the repository at this point in the history
  • Loading branch information
bmorcelli committed Jan 3, 2025
1 parent 51d2cd9 commit 6563834
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/modules/rf/rf.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1632,14 +1632,14 @@ void rf_scan_copy() {
if(bruceConfig.devMode && !OnlyRAW) options.push_back({ "Only RAW", [&]() { ReadRAW=true; OnlyRAW=true; } });
else if(bruceConfig.devMode && OnlyRAW) options.push_back({ "RAW+Decode", [&]() { ReadRAW=true; OnlyRAW=false; } });
options.push_back({ "Close Menu", [&]() { option =-1; } });
options.push_back({ "Main Menu", [&]() { returnToMenu=true; } });
options.push_back({ "Main Menu", [&]() { option =-2; } });


loopOptions(options);

if(option==-1) goto RestartScan;

if(returnToMenu) goto END;
if(option==-2) { returnToMenu=true; goto END; }

if(option ==0 ) { // Replay signal
ReplaySignal:
Expand Down

0 comments on commit 6563834

Please sign in to comment.