diff options
| author | hathach <[email protected]> | 2019-11-27 12:12:52 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2019-11-27 12:12:52 +0700 |
| commit | 8a1b6327ba22940e42424e7ff208a81a4eb93e53 (patch) | |
| tree | b3722a12afc7f6b209e11e77571e47794f507019 /src/device/usbd_control.c | |
| parent | 3a2d63613bf710e706176f968e2ce1c1337adf26 (diff) | |
extract code to invoke_class_control()
- also rename usbd_class_drivers to _usbd_driver
Diffstat (limited to 'src/device/usbd_control.c')
| -rw-r--r-- | src/device/usbd_control.c | 4 |
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; |
