mirror of
https://github.com/eried/portapack-mayhem.git
synced 2024-10-01 01:26:06 -04:00
Merge pull request #958 from gullradriel/recon-skip-fix
fix skip consecutive match
This commit is contained in:
commit
8cb0a91bb5
@ -408,15 +408,16 @@ namespace ui {
|
|||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
restart_recon = true ;
|
||||||
}
|
}
|
||||||
// send a pause message with the right freq
|
// send a pause message with the right freq
|
||||||
if( has_looped && !_continuous )
|
if( has_looped && !_continuous )
|
||||||
{
|
{
|
||||||
// signal pause to handle_retune
|
// signal pause to handle_retune
|
||||||
receiver_model.set_tuning_frequency( freq ); // Retune to actual freq
|
|
||||||
message.freq = freq ;
|
message.freq = freq ;
|
||||||
message.range = MSG_RECON_PAUSE ;
|
message.range = MSG_RECON_PAUSE ;
|
||||||
EventDispatcher::send_message(message);
|
EventDispatcher::send_message(message);
|
||||||
|
receiver_model.set_tuning_frequency( freq ); // Retune to actual freq
|
||||||
}
|
}
|
||||||
if( _stepper < 0 ) _stepper ++ ;
|
if( _stepper < 0 ) _stepper ++ ;
|
||||||
if( _stepper > 0 ) _stepper -- ;
|
if( _stepper > 0 ) _stepper -- ;
|
||||||
|
Loading…
Reference in New Issue
Block a user