]> git.rkrishnan.org Git - pihpsdr.git/commitdiff
do not show "wpm" for CW mode
authorRamakrishnan Muthukrishnan <ram@leastauthority.com>
Sat, 12 Feb 2022 18:11:25 +0000 (23:41 +0530)
committerRamakrishnan Muthukrishnan <ram@leastauthority.com>
Sat, 12 Feb 2022 18:11:25 +0000 (23:41 +0530)
vfo.c

diff --git a/vfo.c b/vfo.c
index f95c7baff9cfb2425b170a3accbce0a8eb6ddb2f..6c646fe176ea6e7802cc8067387f321b5d09f8ef 100644 (file)
--- 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.