Merge pull request #915 from gullradriel/recon-update

Recon description flashing on range fix
This commit is contained in:
gullradriel 2023-04-24 21:15:56 +02:00 committed by GitHub
commit a54b94fe53
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -528,14 +528,6 @@ namespace ui {
}
}
}
}
uint32_t freq_lock = recon_thread->is_freq_lock();
if( freq_lock == 0 ) {
//NO FREQ LOCK, ONGOING STANDARD SCANNING
if( index < 1000 && index < frequency_list.size() )
{
text_cycle.set_text( to_string_dec_uint( index + 1 , 3 ) );
if(frequency_list[index].description.size() > 0)
{
@ -554,6 +546,10 @@ namespace ui {
}
}
}
uint32_t freq_lock = recon_thread->is_freq_lock();
if( freq_lock == 0 ) {
//NO FREQ LOCK, ONGOING STANDARD SCANNING
big_display.set_style(&style_white);
if( !userpause )
button_pause.set_text("<PAUSE>");