simplify hw_endpoint_init()

This commit is contained in:
hathach
2021-08-12 00:11:04 +07:00
parent a2baf9427d
commit 88d4cb402d
2 changed files with 31 additions and 35 deletions

View File

@@ -152,6 +152,7 @@ bool dcd_edpt_xfer_fifo (uint8_t rhport, uint8_t ep_addr, tu_fifo_t * ff,
void dcd_edpt_stall (uint8_t rhport, uint8_t ep_addr);
// clear stall, data toggle is also reset to DATA0
// This API never calls with control endpoints, since it is auto cleared when receiving setup packet
void dcd_edpt_clear_stall (uint8_t rhport, uint8_t ep_addr);
//--------------------------------------------------------------------+