From 0ebd942c7a8af6bde1174edb0157868af9c23c2c Mon Sep 17 00:00:00 2001 From: Federico Amedeo Izzo Date: Thu, 19 Nov 2020 21:02:19 +0100 Subject: [PATCH] UI: Move VFO to 2nd and 3rd line, remove VFO Demo text --- openrtx/src/ui.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/openrtx/src/ui.c b/openrtx/src/ui.c index 9b9f9e2c..a64cc97a 100644 --- a/openrtx/src/ui.c +++ b/openrtx/src/ui.c @@ -220,12 +220,9 @@ void _ui_drawVFO(state_t state) // Print VFO frequencies char freq_buf[20] = ""; snprintf(freq_buf, sizeof(freq_buf), "Rx: %09.5f", state.rx_freq); - gfx_print(layout.line1_pos, freq_buf, layout.line1_font, TEXT_ALIGN_CENTER, color_white); + gfx_print(layout.line2_pos, freq_buf, layout.line1_font, TEXT_ALIGN_CENTER, color_white); snprintf(freq_buf, sizeof(freq_buf), "Tx: %09.5f", state.tx_freq); - gfx_print(layout.line2_pos, freq_buf, layout.line2_font, TEXT_ALIGN_CENTER, color_white); - // Print VFO Demo on line 3 - char line3_buf[10] = "VFO Demo"; - gfx_print(layout.line3_pos, line3_buf, layout.line3_font, TEXT_ALIGN_CENTER, color_white); + gfx_print(layout.line3_pos, freq_buf, layout.line2_font, TEXT_ALIGN_CENTER, color_white); } void _ui_drawBottomBar()