diff options
| author | hathach <[email protected]> | 2021-08-12 00:11:04 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2021-08-12 00:11:04 +0700 |
| commit | 88d4cb402d5db6cb88ffa0aecb78fccfe3ab0afd (patch) | |
| tree | b176ead4ac084f085ea2a84448918ca0ae770645 /src/device | |
| parent | a2baf9427d62ecb49b8d0e58a7ddb12698ddf814 (diff) | |
simplify hw_endpoint_init()
Diffstat (limited to 'src/device')
| -rw-r--r-- | src/device/dcd.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/device/dcd.h b/src/device/dcd.h index 8bfad9b72..66767c1fe 100644 --- a/src/device/dcd.h +++ b/src/device/dcd.h @@ -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); //--------------------------------------------------------------------+ |
