We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 56341fa commit 263cf69Copy full SHA for 263cf69
cores/arduino/USB.cpp
@@ -27,6 +27,8 @@ void arduino::SerialUSB_::baudChangeHandler(const struct device *dev, uint32_t r
27
28
#if defined(CONFIG_USB_DEVICE_STACK_NEXT)
29
int arduino::SerialUSB_::usb_disable() {
30
+ //To avoid Cannot perform port reset: 1200-bps touch: setting DTR to OFF: protocol error
31
+ k_sleep(K_MSEC(100));
32
return usbd_disable(Serial._usbd);
33
}
34
0 commit comments