Merge branch 'pr2340' into dev

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

View File

@@ -43,10 +43,8 @@ void setup()
// Initialize serial output // Initialize serial output
Serial.begin(SERIAL_BAUDRATE); Serial.begin(SERIAL_BAUDRATE);
#if ARDUINO_USB_CDC_ON_BOOT #if !ARDUINO_USB_CDC_ON_BOOT
Serial.setTxTimeoutMs(0); // Only wait for serial interface to be set up when not using CDC
delay(100);
#else
while (!Serial) while (!Serial)
yield(); yield();
#endif #endif