diff --git a/MicroDexed.ino b/MicroDexed.ino index 8d68ab1..118a299 100644 --- a/MicroDexed.ino +++ b/MicroDexed.ino @@ -811,7 +811,7 @@ void handleNoteOn(byte inChannel, byte inNumber, byte inVelocity) #if NUM_DRUMS > 0 // Check for Drum - if (inChannel == DRUM_MIDI_CHANNEL) + if (inChannel == drum_midi_channel) { if (drum_counter >= NUM_DRUMS) drum_counter = 0;