summaryrefslogtreecommitdiff
path: root/src/device/usbd_control.c
diff options
context:
space:
mode:
authorHa Thach <[email protected]>2019-11-27 13:44:09 +0700
committerGitHub <[email protected]>2019-11-27 13:44:09 +0700
commit2e0dcd50ead1bf68f7372d157bd00483e9cc1975 (patch)
tree4851f5865b5fd06beb874f8f676a0b470be4e449 /src/device/usbd_control.c
parent6a6f3efd0f5ec098df69a3b705abf9efaee1bd5c (diff)
parentfe1eadf177ec42914ce156704c6d2a6d85371945 (diff)
Merge pull request #230 from hathach/develop
fix #229
Diffstat (limited to 'src/device/usbd_control.c')
-rw-r--r--src/device/usbd_control.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/device/usbd_control.c b/src/device/usbd_control.c
index 967864138..7f6cf5a40 100644
--- a/src/device/usbd_control.c
+++ b/src/device/usbd_control.c
@@ -130,7 +130,9 @@ void usbd_control_set_complete_callback( bool (*fp) (uint8_t, tusb_control_reque
_ctrl_xfer.complete_cb = fp;
}
-// callback when a transaction complete on DATA stage of control endpoint
+// callback when a transaction complete on
+// - DATA stage of control endpoint or
+// - Status stage
bool usbd_control_xfer_cb (uint8_t rhport, uint8_t ep_addr, xfer_result_t result, uint32_t xferred_bytes)
{
(void) result;