migrate dfu runtime device to new control xfer cb

This commit is contained in:
hathach
2020-11-20 15:42:32 +07:00
parent 7df979673d
commit 3cc1979adb
3 changed files with 8 additions and 13 deletions

View File

@@ -183,8 +183,7 @@ static usbd_class_driver_t const _usbd_driver[] =
.init = dfu_rtd_init,
.reset = dfu_rtd_reset,
.open = dfu_rtd_open,
.control_xfer_cb = dfu_rtd_control_request,
.control_complete = dfu_rtd_control_complete,
.control_xfer_cb = dfu_rtd_control_xfer_cb,
.xfer_cb = dfu_rtd_xfer_cb,
.sof = NULL
},