Skip to content

Commit

Permalink
Merge branch 'pr2340' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
tbnobody committed Oct 9, 2024
2 parents 096a1ba + 6297ae3 commit 4e293d4
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,8 @@ void setup()

// Initialize serial output
Serial.begin(SERIAL_BAUDRATE);
#if ARDUINO_USB_CDC_ON_BOOT
Serial.setTxTimeoutMs(0);
delay(100);
#else
#if !ARDUINO_USB_CDC_ON_BOOT
// Only wait for serial interface to be set up when not using CDC
while (!Serial)
yield();
#endif
Expand Down

0 comments on commit 4e293d4

Please sign in to comment.