Skip to content

Commit 6187a43

Browse files
committed
fix(usb): do not force dtrstate value to true
Signed-off-by: Frederic Pillon <[email protected]>
1 parent 67a5298 commit 6187a43

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

cores/arduino/stm32/usb/cdc/usbd_cdc_if.c

-1
Original file line numberDiff line numberDiff line change
@@ -357,7 +357,6 @@ bool CDC_resume_receive(void)
357357
void CDC_enableDTR(bool enable)
358358
{
359359
CDC_DTR_enabled = enable;
360-
dtrState = true;
361360
}
362361

363362
#endif /* USBD_USE_CDC */

0 commit comments

Comments
 (0)