webusb work great with linux

This commit is contained in:
hathach
2019-07-26 11:36:30 +07:00
parent 570a2b2053
commit d2b60b6755
5 changed files with 124 additions and 44 deletions

View File

@@ -136,8 +136,8 @@ static usbd_class_driver_t const usbd_class_drivers[] =
.init = vendord_init,
.reset = vendord_reset,
.open = vendord_open,
.control_request = NULL, // tud_vendor_control_request_cb
.control_complete = NULL, // tud_vendor_control_complete_cb
.control_request = tud_vendor_control_request_cb,
.control_complete = tud_vendor_control_complete_cb,
.xfer_cb = vendord_xfer_cb,
.sof = NULL
},