migrate vendor device to new control xfer cb

This commit is contained in:
hathach
2020-11-20 15:50:11 +07:00
parent 3cc1979adb
commit 61ad7bef71
3 changed files with 8 additions and 18 deletions

View File

@@ -158,8 +158,7 @@ static usbd_class_driver_t const _usbd_driver[] =
.init = vendord_init,
.reset = vendord_reset,
.open = vendord_open,
.control_xfer_cb = tud_vendor_control_request_cb,
.control_complete = tud_vendor_control_complete_cb,
.control_xfer_cb = tud_vendor_control_xfer_cb,
.xfer_cb = vendord_xfer_cb,
.sof = NULL
},