From: Ramakrishnan Muthukrishnan <ram@leastauthority.com>
Date: Sat, 12 Feb 2022 18:11:25 +0000 (+0530)
Subject: do not show "wpm" for CW mode
X-Git-Url: https://git.rkrishnan.org/pf/components/vdrive/frontends/%22file://%22%22?a=commitdiff_plain;h=458e201f52e0ef48d1c9d92b03a5d1f8e4b748ad;p=pihpsdr.git

do not show "wpm" for CW mode
---

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.