summaryrefslogtreecommitdiff
path: root/src/device
diff options
context:
space:
mode:
authorhathach <[email protected]>2020-11-19 22:00:49 +0700
committerhathach <[email protected]>2020-11-19 22:00:49 +0700
commitdc9a30983982717b1a0e8b48833fca841de5e70e (patch)
tree3a745beaed06023ac6d9f1470cd037185d5fea0b /src/device
parentdd07fecc5f37c85b87060c7f7158d26ff19757a6 (diff)
migrate hid device to new control xfer cb
Diffstat (limited to 'src/device')
-rw-r--r--src/device/usbd.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/device/usbd.c b/src/device/usbd.c
index dbe11d380..1e6722ffb 100644
--- a/src/device/usbd.c
+++ b/src/device/usbd.c
@@ -121,8 +121,7 @@ static usbd_class_driver_t const _usbd_driver[] =
.init = hidd_init,
.reset = hidd_reset,
.open = hidd_open,
- .control_xfer_cb = hidd_control_request,
- .control_complete = hidd_control_complete,
+ .control_xfer_cb = hidd_control_xfer_cb,
.xfer_cb = hidd_xfer_cb,
.sof = NULL
},