mirror of
https://github.com/tbnobody/OpenDTU.git
synced 2025-12-11 09:20:34 +01:00
Merge branch 'pr2340' into dev
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user