mirror of
https://github.com/eried/portapack-mayhem.git
synced 2024-12-25 15:29:37 -05:00
commit
cb93f2636e
@ -48,8 +48,6 @@ namespace ui {
|
|||||||
|
|
||||||
void focus() override;
|
void focus() override;
|
||||||
|
|
||||||
void big_display_freq( int64_t f );
|
|
||||||
|
|
||||||
const Style style_grey { // level
|
const Style style_grey { // level
|
||||||
.font = font::fixed_8x16,
|
.font = font::fixed_8x16,
|
||||||
.background = Color::black(),
|
.background = Color::black(),
|
||||||
|
@ -443,9 +443,7 @@ namespace ui {
|
|||||||
|
|
||||||
void ReconView::set_display_freq( int64_t freq )
|
void ReconView::set_display_freq( int64_t freq )
|
||||||
{
|
{
|
||||||
int64_t freqMHz = ( freq / 1000000 );
|
big_display.set( "FREQ: "+to_string_short_freq( freq )+" MHz" );
|
||||||
int64_t freqMhzFloatingPart = ( freq - ( 1000000 * freqMHz ) ) / 100 ;
|
|
||||||
big_display.set( "FREQ: "+to_string_dec_int( freqMHz )+"."+to_string_dec_int( freqMhzFloatingPart )+" MHz" );
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void ReconView::handle_retune( int64_t freq , uint32_t index ) {
|
void ReconView::handle_retune( int64_t freq , uint32_t index ) {
|
||||||
|
@ -118,8 +118,6 @@ namespace ui {
|
|||||||
|
|
||||||
void focus() override;
|
void focus() override;
|
||||||
|
|
||||||
void big_display_freq( int64_t f );
|
|
||||||
|
|
||||||
const Style style_grey { // recon
|
const Style style_grey { // recon
|
||||||
.font = font::fixed_8x16,
|
.font = font::fixed_8x16,
|
||||||
.background = Color::black(),
|
.background = Color::black(),
|
||||||
|
@ -88,8 +88,6 @@ public:
|
|||||||
|
|
||||||
void focus() override;
|
void focus() override;
|
||||||
|
|
||||||
void big_display_freq(rf::Frequency f);
|
|
||||||
|
|
||||||
const Style style_grey { // scanning
|
const Style style_grey { // scanning
|
||||||
.font = font::fixed_8x16,
|
.font = font::fixed_8x16,
|
||||||
.background = Color::black(),
|
.background = Color::black(),
|
||||||
|
Loading…
Reference in New Issue
Block a user