Schedule ACK after CLEAR_FEATURE / ENDPOINT_HALT request.
This commit is contained in:
@ -375,6 +375,7 @@ static usb_request_status_t usb_standard_request_clear_feature_setup(
|
|||||||
usb_endpoint_reset_data_toggle(
|
usb_endpoint_reset_data_toggle(
|
||||||
usb_endpoint_from_address(endpoint->setup.index)
|
usb_endpoint_from_address(endpoint->setup.index)
|
||||||
);
|
);
|
||||||
|
usb_transfer_schedule_ack(endpoint->in);
|
||||||
return USB_REQUEST_STATUS_OK;
|
return USB_REQUEST_STATUS_OK;
|
||||||
default:
|
default:
|
||||||
return USB_REQUEST_STATUS_STALL;
|
return USB_REQUEST_STATUS_STALL;
|
||||||
|
Reference in New Issue
Block a user