Skip to content

Commit 6ae4508

Browse files
committed
bug fix
1 parent 56204dc commit 6ae4508

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

edrumulus.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,13 +178,13 @@ void loop()
178178
}
179179
}
180180

181+
#ifdef USE_MIDI
181182
// load indicator
182183
if (const int load = edrumulus.get_load_indicator(); load >= 0)
183184
{
184185
MYMIDI.sendNoteOff(124, load, 1);
185186
}
186187

187-
#ifdef USE_MIDI
188188
// send MIDI note to drum synthesizer
189189
for (int pad_idx = 0; pad_idx < number_pads; pad_idx++)
190190
{

0 commit comments

Comments
 (0)