Merge pull request #958 from gullradriel/recon-skip-fix

fix skip consecutive match
This commit is contained in:
gullradriel 2023-05-05 17:03:00 +02:00 committed by GitHub
commit 8cb0a91bb5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 -- ;