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 ff3bd8c commit 59f61ccCopy full SHA for 59f61cc
cores/arduino/USB.cpp
@@ -29,6 +29,8 @@ void arduino::SerialUSB_::baudChangeHandler(const struct device *dev, uint32_t r
29
30
#if defined(CONFIG_USB_DEVICE_STACK_NEXT)
31
int arduino::SerialUSB_::usb_disable() {
32
+ // To avoid Cannot perform port reset: 1200-bps touch: setting DTR to OFF: protocol error
33
+ k_sleep(K_MSEC(100));
34
return usbd_disable(Serial._usbd);
35
}
36
0 commit comments