summaryrefslogtreecommitdiff
path: root/src/device
diff options
context:
space:
mode:
authorhathach <[email protected]>2020-11-20 16:13:58 +0700
committerhathach <[email protected]>2020-11-20 16:13:58 +0700
commit9f853685ae06c4eac03b277d61440de28d5ba41a (patch)
tree7389f1436f80e1f6ffdeb3ef1dd18666b835be29 /src/device
parent61ad7bef7140d8e06343a5ce4e15d3a2fe7f158a (diff)
migrate bth 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 9773245c8..5639e1354 100644
--- a/src/device/usbd.c
+++ b/src/device/usbd.c
@@ -207,8 +207,7 @@ static usbd_class_driver_t const _usbd_driver[] =
.init = btd_init,
.reset = btd_reset,
.open = btd_open,
- .control_xfer_cb = btd_control_request,
- .control_complete = btd_control_complete,
+ .control_xfer_cb = btd_control_xfer_cb,
.xfer_cb = btd_xfer_cb,
.sof = NULL
},