Skip to content

Commit 2a5e726

Browse files
committed
audio_board: don't hang on crash
1 parent 669ebee commit 2a5e726

File tree

1 file changed

+1
-1
lines changed
  • hardware/firmware/audio_board/src

1 file changed

+1
-1
lines changed

hardware/firmware/audio_board/src/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,7 @@ void onPacketReceived(OSCMessage msg) {
337337
void setup() {
338338
if (CrashReport) {
339339
// Wait until the debug interface is ready
340-
while (!SerialUSB1)
340+
while (!SerialUSB1 && millis() < 1500)
341341
;
342342
SerialUSB1.print(CrashReport);
343343
}

0 commit comments

Comments
 (0)