Merge pull request #929 from gullradriel/freq-disp-fix

Freq disp fix
This commit is contained in:
gullradriel 2023-04-28 13:01:12 +02:00 committed by GitHub
commit cb93f2636e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 1 additions and 9 deletions

View File

@ -48,8 +48,6 @@ namespace ui {
void focus() override;
void big_display_freq( int64_t f );
const Style style_grey { // level
.font = font::fixed_8x16,
.background = Color::black(),

View File

@ -443,9 +443,7 @@ namespace ui {
void ReconView::set_display_freq( int64_t freq )
{
int64_t freqMHz = ( freq / 1000000 );
int64_t freqMhzFloatingPart = ( freq - ( 1000000 * freqMHz ) ) / 100 ;
big_display.set( "FREQ: "+to_string_dec_int( freqMHz )+"."+to_string_dec_int( freqMhzFloatingPart )+" MHz" );
big_display.set( "FREQ: "+to_string_short_freq( freq )+" MHz" );
}
void ReconView::handle_retune( int64_t freq , uint32_t index ) {

View File

@ -118,8 +118,6 @@ namespace ui {
void focus() override;
void big_display_freq( int64_t f );
const Style style_grey { // recon
.font = font::fixed_8x16,
.background = Color::black(),

View File

@ -88,8 +88,6 @@ public:
void focus() override;
void big_display_freq(rf::Frequency f);
const Style style_grey { // scanning
.font = font::fixed_8x16,
.background = Color::black(),