mirror of
https://github.com/eried/portapack-mayhem.git
synced 2024-10-01 01:26:06 -04:00
commit
cb93f2636e
@ -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(),
|
||||
|
@ -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 ) {
|
||||
|
@ -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(),
|
||||
|
@ -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(),
|
||||
|
Loading…
Reference in New Issue
Block a user