From 77bc421359845c2fe4591b0ae19e513b9a84c05b Mon Sep 17 00:00:00 2001 From: hathach Date: Thu, 9 May 2019 23:31:18 +0700 Subject: fix clear stall usage, fix reset data toggle with dcd_clear_stall for nrf52 --- src/device/dcd.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/device/dcd.h') diff --git a/src/device/dcd.h b/src/device/dcd.h index 63f923faa..18678f15b 100644 --- a/src/device/dcd.h +++ b/src/device/dcd.h @@ -107,7 +107,7 @@ void dcd_remote_wakeup(uint8_t rhport); * must be called to notify the stack * - busy : Check if endpoint transferring is complete (TODO remove) * - stall : stall endpoint - * - clear_stall : clear stall + * - clear_stall : clear stall, data toggle is also reset to DATA0 *------------------------------------------------------------------*/ bool dcd_edpt_open (uint8_t rhport, tusb_desc_endpoint_t const * p_endpoint_desc); bool dcd_edpt_xfer (uint8_t rhport, uint8_t ep_addr, uint8_t * buffer, uint16_t total_bytes); -- cgit v1.3.1