mirror of
https://github.com/eried/portapack-mayhem.git
synced 2024-12-24 23:09:26 -05:00
Retune after delete fix
This commit is contained in:
parent
734f315266
commit
e0c1f7b45e
@ -1013,9 +1013,17 @@ namespace ui {
|
||||
{
|
||||
user_resume();
|
||||
}
|
||||
|
||||
RetuneMessage message { };
|
||||
receiver_model.set_tuning_frequency( frequency_list[ current_index ] . frequency_a ); // Retune
|
||||
message.freq = frequency_list[ current_index ] . frequency_a ;
|
||||
message.range = current_index ;
|
||||
EventDispatcher::send_message(message);
|
||||
|
||||
chThdSleepMilliseconds( recon_lock_duration ); // give some time to Thread::Run to pause
|
||||
|
||||
recon_thread->set_recon( previous_is_recon );
|
||||
recon_thread->set_freq_delete(false);
|
||||
chThdSleepMilliseconds( recon_lock_duration ); // give some time to Thread::Run to pause
|
||||
}
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user