From: c vw Date: Tue, 12 Nov 2019 09:05:29 +0000 (+0100) Subject: even better debug output X-Git-Url: https://git.rkrishnan.org/listings/vdrive/index.php?a=commitdiff_plain;h=5c5337b92b2b71ee6e390c67ceb787c99d4432a8;p=pihpsdr.git even better debug output --- diff --git a/midi2.c b/midi2.c index 7945922..a46c5d0 100644 --- a/midi2.c +++ b/midi2.c @@ -338,6 +338,7 @@ fprintf(stderr,"MIDI:ACTION:%s (%d)\n",cp+7, action); // We have a linked list for each key value to speed up searches // if (event == MIDI_PITCH) { +fprintf(stderr,"MIDI:TAB:Insert desc=%p in PITCH table\n",desc); dp = MidiCommandsTable.pitch; if (dp == NULL) { MidiCommandsTable.pitch = desc; @@ -347,6 +348,7 @@ fprintf(stderr,"MIDI:ACTION:%s (%d)\n",cp+7, action); } } if (event == MIDI_KEY || event == MIDI_CTRL) { +fprintf(stderr,"MIDI:TAB:Insert desc=%p in CMDS[%d] table\n",desc,key); dp = MidiCommandsTable.desc[key]; if (dp == NULL) { MidiCommandsTable.desc[key]=desc;