mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-06-28 16:47:22 -04:00
Fix for description being updated at each step on a range
This commit is contained in:
parent
cffc72c516
commit
45bdabcef9
1 changed files with 18 additions and 22 deletions
|
@ -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 ) );
|
text_cycle.set_text( to_string_dec_uint( index + 1 , 3 ) );
|
||||||
if(frequency_list[index].description.size() > 0)
|
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);
|
big_display.set_style(&style_white);
|
||||||
if( !userpause )
|
if( !userpause )
|
||||||
button_pause.set_text("<PAUSE>");
|
button_pause.set_text("<PAUSE>");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue