Merge branch 'pr2340' into dev

This commit is contained in:
Thomas Basler 2024-10-09 18:37:06 +02:00
commit 4e293d4b93

View File

@ -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