migrate usbtmc device to new control xfer cb

This commit is contained in:
hathach
2020-11-20 15:38:56 +07:00
parent 8813f9d3b8
commit 7df979673d
3 changed files with 9 additions and 14 deletions

View File

@@ -171,8 +171,7 @@ static usbd_class_driver_t const _usbd_driver[] =
.init = usbtmcd_init_cb,
.reset = usbtmcd_reset_cb,
.open = usbtmcd_open_cb,
.control_xfer_cb = usbtmcd_control_request_cb,
.control_complete = usbtmcd_control_complete_cb,
.control_xfer_cb = usbtmcd_control_xfer_cb,
.xfer_cb = usbtmcd_xfer_cb,
.sof = NULL
},