From b9140f5931786f8dea964c95c405e778ecf407e0 Mon Sep 17 00:00:00 2001 From: c vw Date: Fri, 21 May 2021 20:02:43 +0200 Subject: [PATCH] MIDI: do not deliver CW key-down/up messages if using internal CW --- midi3.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/midi3.c b/midi3.c index 46141a6..48f881d 100644 --- a/midi3.c +++ b/midi3.c @@ -61,7 +61,7 @@ typedef struct _MIDIcmd MIDIcmd; static int DoTheRestOfTheMIDI(void *data); void DoTheMidi(enum MIDIaction action, enum MIDItype type, int val) { - if (action == MIDI_ACTION_CWKEYER) { + if (action == MIDI_ACTION_CWKEYER && cw_keyer_internal == 0) { // // This is a CW key-up/down which uses functions from the keyer // that by-pass the interrupt-driven standard action. -- 2.45.2