From: c vw Date: Tue, 10 Nov 2020 09:29:59 +0000 (+0100) Subject: fixed problem occuring when compiling without LOCALCW X-Git-Url: https://git.rkrishnan.org/uri/vdrive/(%5B%5E?a=commitdiff_plain;h=0bccca62a79996612ec04d13560dc880afb0c0be;p=pihpsdr.git fixed problem occuring when compiling without LOCALCW --- diff --git a/midi3.c b/midi3.c index f4db9b6..d876cd8 100644 --- 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;