summaryrefslogtreecommitdiff
path: root/src/device
diff options
context:
space:
mode:
authorJacob Potter <[email protected]>2021-01-03 15:16:54 -0700
committerJacob Potter <[email protected]>2021-01-03 15:16:54 -0700
commit3158b323d8d701f70b80dca986f8b0e8e60eba97 (patch)
tree85dab9efffab85f13f8c3669611d0d197a06ad24 /src/device
parent57058e33fceecf16161c37f2d9796934b392a2ea (diff)
Adapt to new control xfer callback
Diffstat (limited to 'src/device')
-rw-r--r--src/device/usbd.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/device/usbd.c b/src/device/usbd.c
index e2110b7a8..c6124263f 100644
--- a/src/device/usbd.c
+++ b/src/device/usbd.c
@@ -217,8 +217,7 @@ static usbd_class_driver_t const _usbd_driver[] =
.init = ncmd_init,
.reset = ncmd_reset,
.open = ncmd_open,
- .control_request = ncmd_control_request,
- .control_complete = ncmd_control_complete,
+ .control_xfer_cb = ncmd_control_xfer_cb,
.xfer_cb = ncmd_xfer_cb,
.sof = NULL
},