From 458e201f52e0ef48d1c9d92b03a5d1f8e4b748ad Mon Sep 17 00:00:00 2001 From: Ramakrishnan Muthukrishnan Date: Sat, 12 Feb 2022 23:41:25 +0530 Subject: [PATCH] do not show "wpm" for CW mode --- vfo.c | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/vfo.c b/vfo.c index f95c7ba..6c646fe 100644 --- a/vfo.c +++ b/vfo.c @@ -985,17 +985,18 @@ void vfo_update() { cairo_move_to(cr, 70, 80); cairo_show_text(cr, temp_text); - // draw CW (wpm) - switch(vfo[id].mode) { - case modeCWU: - case modeCWL: - cairo_set_font_size(cr, 16); - cairo_set_source_rgb(cr, 1.0, 1.0, 0.0); - cairo_show_text(cr, " wpm"); - break; - default: - break; - } + /* // draw CW (wpm) */ + /* switch(vfo[id].mode) { */ + /* case modeCWU: */ + /* case modeCWL: */ + /* cairo_set_font_size(cr, 16); */ + /* cairo_set_source_rgb(cr, 1.0, 1.0, 0.0); */ + /* cairo_show_text(cr, " wpm"); */ + /* break; */ + /* default: */ + /* break; */ + /* } */ + // In what follows, we want to display the VFO frequency // on which we currently transmit a signal with red colour. // If it is out-of-band, we display "Out of band" in red. -- 2.45.2