We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 75bd97a commit 7c8841eCopy full SHA for 7c8841e
1 file changed
src/usb/core.c
@@ -91,6 +91,13 @@ static bool_t handle_control_request(void)
91
92
handled = cdc_acm_set_configuration();
93
94
+ } else if ((req->bmRequestType == 0x02)
95
+ && (req->bRequest == CLEAR_FEATURE)
96
+ && (req->wValue == 0x0000)) {
97
+
98
+ /* CLEAR_FEATURE(ENDPOINT_HALT): Required by USB spec.
99
+ * Some hosts (e.g. FreeBSD umodem) send this on every open. */
100
101
} else if ((req->bmRequestType&0x7f) == 0x21) {
102
103
handled = cdc_acm_handle_class_request();
0 commit comments