mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2024-12-13 19:54:39 +00:00
fix skip consecutive match
This commit is contained in:
parent
31031edbd1
commit
1bcbefeb96
@ -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