Skip to content

Commit 09ebbe0

Browse files
committed
rework read example without accept()
1 parent 4a2736f commit 09ebbe0

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

examples/MIDIUSB_read/MIDIUSB_read.ino

-2
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,6 @@ void controlChange(byte channel, byte control, byte value) {
3939
}
4040

4141
void loop() {
42-
MidiUSB.accept();
43-
delayMicroseconds(1);
4442
midiEventPacket_t rx;
4543
do {
4644
rx = MidiUSB.read();

0 commit comments

Comments
 (0)