Skip to content

Commit 5a2210c

Browse files
committed
Include USBSerial1 in the yield call
1 parent 6ce8f55 commit 5a2210c

File tree

1 file changed

+1
-1
lines changed
  • hardware/firmware/audio_board/vendor/cores/teensy4

1 file changed

+1
-1
lines changed

hardware/firmware/audio_board/vendor/cores/teensy4/yield.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ void yield(void)
5151
if (Serial.available()) serialEvent();
5252
}
5353

54-
#if defined(USB_DUAL_SERIAL) || defined(USB_TRIPLE_SERIAL)
54+
#if defined(USB_DUAL_SERIAL) || defined(USB_TRIPLE_SERIAL) || defined(USB_MIDI_AUDIO_SERIAL)
5555
if (check_flags & YIELD_CHECK_USB_SERIALUSB1) {
5656
if (SerialUSB1.available()) serialEventUSB1();
5757
}

0 commit comments

Comments
 (0)