summaryrefslogtreecommitdiff
path: root/src/device
diff options
context:
space:
mode:
authorHiFiPhile <[email protected]>2020-12-20 23:06:32 +0100
committerHiFiPhile <[email protected]>2020-12-20 23:10:34 +0100
commitb3c0d417ef2b2d2ff3d00b7cdf623436ec7abf97 (patch)
tree2dc16c5eadf3a8c550a1144883706a4bedb523e8 /src/device
parent13e6afd5897ab018047fdc8e4c34f4b782ee5118 (diff)
Fix error if "Required Prototype" is selected.
Signed-off-by: HiFiPhile <[email protected]>
Diffstat (limited to 'src/device')
-rw-r--r--src/device/usbd_control.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/device/usbd_control.c b/src/device/usbd_control.c
index bb631320a..8ed0ad1c0 100644
--- a/src/device/usbd_control.c
+++ b/src/device/usbd_control.c
@@ -140,6 +140,14 @@ bool tud_control_xfer(uint8_t rhport, tusb_control_request_t const * request, vo
// USBD API
//--------------------------------------------------------------------+
+//--------------------------------------------------------------------+
+// Prototypes
+//--------------------------------------------------------------------+
+void usbd_control_reset(void);
+void usbd_control_set_request(tusb_control_request_t const *request);
+void usbd_control_set_complete_callback( usbd_control_xfer_cb_t fp );
+bool usbd_control_xfer_cb (uint8_t rhport, uint8_t ep_addr, xfer_result_t event, uint32_t xferred_bytes);
+
void usbd_control_reset(void)
{
tu_varclr(&_ctrl_xfer);