Skip to content

Commit

Permalink
Merge pull request #958 from gullradriel/recon-skip-fix
Browse files Browse the repository at this point in the history
fix skip consecutive match
  • Loading branch information
gullradriel committed May 5, 2023
2 parents 31031ed + 1bcbefe commit 8cb0a91
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion firmware/application/apps/ui_recon.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -408,15 +408,16 @@ namespace ui {
default:
break;
}
restart_recon = true ;
}
// send a pause message with the right freq
if( has_looped && !_continuous )
{
// signal pause to handle_retune
receiver_model.set_tuning_frequency( freq ); // Retune to actual freq
message.freq = freq ;
message.range = MSG_RECON_PAUSE ;
EventDispatcher::send_message(message);
receiver_model.set_tuning_frequency( freq ); // Retune to actual freq
}
if( _stepper < 0 ) _stepper ++ ;
if( _stepper > 0 ) _stepper -- ;
Expand Down

0 comments on commit 8cb0a91

Please sign in to comment.