From: John Melton G0ORX <john.d.melton@googlemail.com>
Date: Sun, 19 Jul 2020 10:00:40 +0000 (+0100)
Subject: add debug message for MIDI CW
X-Git-Url: https://git.rkrishnan.org/simplejson/components/module-simplejson.scanner.html?a=commitdiff_plain;h=e8fc396877186b728ac825a81049026c99cfa89a;p=pihpsdr.git

add debug message for MIDI CW
---

diff --git a/midi3.c b/midi3.c
index d4f1aa9..3a096aa 100644
--- a/midi3.c
+++ b/midi3.c
@@ -225,6 +225,9 @@ void DoTheMidi(enum MIDIaction action, enum MIDItype type, int val) {
 		new=(action == CWL);
 		keyer_event(new,val);
 	    }
+#else
+	    g_print("%s: %s:%d\n",__FUNCTION__,action==CWL?"CWL":"CWR",val);
+
 #endif
 	    break;
 	/////////////////////////////////////////////////////////// "CWSPEED"