diff options
| author | hathach <[email protected]> | 2020-11-20 15:38:56 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2020-11-20 15:38:56 +0700 |
| commit | 7df979673db0e2e268c576a8a4d738069cf5e32b (patch) | |
| tree | 7943193f5221335ca54e35d8221988e33e9145dd /src/device | |
| parent | 8813f9d3b8a997e7a16c61a094f117a50c6ae435 (diff) | |
migrate usbtmc device to new control xfer cb
Diffstat (limited to 'src/device')
| -rw-r--r-- | src/device/usbd.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/device/usbd.c b/src/device/usbd.c index bea41b592..1d328ad5f 100644 --- a/src/device/usbd.c +++ b/src/device/usbd.c @@ -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 }, |
