]> git.rkrishnan.org Git - pihpsdr.git/commitdiff
fixed problem occuring when compiling without LOCALCW
authorc vw <dl1ycf@darc.de>
Tue, 10 Nov 2020 09:29:59 +0000 (10:29 +0100)
committerc vw <dl1ycf@darc.de>
Tue, 10 Nov 2020 09:29:59 +0000 (10:29 +0100)
midi3.c

diff --git a/midi3.c b/midi3.c
index f4db9b6e6174679de080e3c0375bd985492007e7..d876cd80f048264b33aa03000d69ab0579b94c77 100644 (file)
--- a/midi3.c
+++ b/midi3.c
@@ -227,7 +227,7 @@ void DoTheMidi(enum MIDIaction action, enum MIDItype type, int val) {
                keyer_event(new,val);
            }
 #else
-           g_print("%s: %s:%d\n",__FUNCTION__,action==CWL?"CWL":"CWR",val);
+           g_print("%s: %s:%d\n",__FUNCTION__,action==MIDI_ACTION_CWL?"CWL":"CWR",val);
 
 #endif
            break;