migrate net device to new control xfer cb

This commit is contained in:
hathach
2020-11-20 16:59:33 +07:00
parent d6461abe78
commit c4bc8b2561
3 changed files with 100 additions and 105 deletions

View File

@@ -194,8 +194,7 @@ static usbd_class_driver_t const _usbd_driver[] =
.init = netd_init,
.reset = netd_reset,
.open = netd_open,
.control_xfer_cb = netd_control_request,
.control_complete = netd_control_complete,
.control_xfer_cb = netd_control_xfer_cb,
.xfer_cb = netd_xfer_cb,
.sof = NULL,
},