diff options
| author | hathach <[email protected]> | 2019-07-26 11:36:30 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2019-07-26 11:36:30 +0700 |
| commit | d2b60b67559e290e874797c55a34905ae8c620cc (patch) | |
| tree | f4071253c4040a593141b519f83f6240e4c5f30b /src/device | |
| parent | 570a2b20539042cac631d86eaf323077a46e9f72 (diff) | |
webusb work great with linux
Diffstat (limited to 'src/device')
| -rw-r--r-- | src/device/usbd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/device/usbd.c b/src/device/usbd.c index c94d08a67..f737f5d36 100644 --- a/src/device/usbd.c +++ b/src/device/usbd.c @@ -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
},
|
