Schedule ACK after CLEAR_FEATURE / ENDPOINT_HALT request.

This commit is contained in:
Martin Ling
2022-03-30 00:34:32 +01:00
parent 2fba08cf42
commit 077095451a

View File

@ -375,6 +375,7 @@ static usb_request_status_t usb_standard_request_clear_feature_setup(
usb_endpoint_reset_data_toggle(
usb_endpoint_from_address(endpoint->setup.index)
);
usb_transfer_schedule_ack(endpoint->in);
return USB_REQUEST_STATUS_OK;
default:
return USB_REQUEST_STATUS_STALL;