migrate hid device to new control xfer cb

This commit is contained in:
hathach
2020-11-19 22:00:49 +07:00
parent dd07fecc5f
commit dc9a309839
3 changed files with 115 additions and 115 deletions

View File

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