more clean up

This commit is contained in:
hathach
2022-04-28 18:00:30 +07:00
parent a72d4e2462
commit 85dcb73774
4 changed files with 8 additions and 7 deletions

View File

@@ -135,6 +135,7 @@ void dcd_edpt_stall (uint8_t rhport, uint8_t ep_addr)
{
(void) rhport;
endpoint_t *ep = pio_usb_device_get_endpoint_by_address(ep_addr);
ep->has_transfer = false;
ep->stalled = true;
}