migrate bth device to new control xfer cb

This commit is contained in:
hathach
2020-11-20 16:13:58 +07:00
parent 61ad7bef71
commit 9f853685ae
3 changed files with 37 additions and 39 deletions

View File

@@ -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
},