summaryrefslogtreecommitdiff
path: root/src/device/usbd.c
diff options
context:
space:
mode:
authorJeremiah McCarthy <[email protected]>2021-03-26 15:30:43 -0400
committerJeremiah McCarthy <[email protected]>2021-03-26 15:30:43 -0400
commit1138f8cc704e09af3335e253e5f244fde90d982f (patch)
tree568e5878d290888678f9f0d281752547970d2170 /src/device/usbd.c
parent161b8587bd435ae2dc6f0aafac41019a09580b80 (diff)
Add DFU Class per Version 1.1 Spec
Diffstat (limited to 'src/device/usbd.c')
-rw-r--r--src/device/usbd.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/device/usbd.c b/src/device/usbd.c
index 4fc221888..28c9acdd2 100644
--- a/src/device/usbd.c
+++ b/src/device/usbd.c
@@ -1,4 +1,4 @@
-/*
+/*
* The MIT License (MIT)
*
* Copyright (c) 2019 Ha Thach (tinyusb.org)
@@ -182,7 +182,7 @@ static usbd_class_driver_t const _usbd_driver[] =
.reset = dfu_rtd_reset,
.open = dfu_rtd_open,
.control_xfer_cb = dfu_rtd_control_xfer_cb,
- .xfer_cb = dfu_rtd_xfer_cb,
+ .xfer_cb = NULL,
.sof = NULL
},
#endif
@@ -1270,9 +1270,9 @@ bool usbd_edpt_stalled(uint8_t rhport, uint8_t ep_addr)
/**
* usbd_edpt_close will disable an endpoint.
- *
+ *
* In progress transfers on this EP may be delivered after this call.
- *
+ *
*/
void usbd_edpt_close(uint8_t rhport, uint8_t ep_addr)
{