fix(usbcdc): Re-enable after lockup when attached again
Compare changes
+ 12
− 2
@@ -22,6 +22,8 @@
@@ -36,15 +38,24 @@ static int cb_acm_read_ready(void)
@@ -96,7 +107,6 @@ uint8_t cdcacm_read(void)
When opening an ACM device Linux sends the ACM_SET_CONTROL_LINE_STATE with DTR and CTS high. We can use this re-enable the ACM device on our side after a lockup.