Skip to content

Commit

Permalink
audio_board: don't hang on crash
Browse files Browse the repository at this point in the history
  • Loading branch information
aastefanov committed Jan 31, 2025
1 parent 669ebee commit 2a5e726
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hardware/firmware/audio_board/src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ void onPacketReceived(OSCMessage msg) {
void setup() {
if (CrashReport) {
// Wait until the debug interface is ready
while (!SerialUSB1)
while (!SerialUSB1 && millis() < 1500)
;
SerialUSB1.print(CrashReport);
}
Expand Down

0 comments on commit 2a5e726

Please sign in to comment.