summaryrefslogtreecommitdiff
path: root/src/device/control.h
diff options
context:
space:
mode:
authorScott Shawcroft <[email protected]>2018-11-08 13:45:30 -0800
committerScott Shawcroft <[email protected]>2018-11-08 13:45:30 -0800
commit30e3c64134789416e10ed867fa12c210b808e98f (patch)
tree6cb85cea204a1398e49eeff7b0e96dd5104aad4b /src/device/control.h
parent7a40ec2647f06c37c6b8f0b8af2c17ba747f0aeb (diff)
Polish up control split and treat it more like a normal endpoint.
Diffstat (limited to 'src/device/control.h')
-rw-r--r--src/device/control.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/device/control.h b/src/device/control.h
index 24f0d0a14..881c99ead 100644
--- a/src/device/control.h
+++ b/src/device/control.h
@@ -68,6 +68,9 @@ tusb_error_t controld_process_setup_request(uint8_t rhport, tusb_control_request
// Callback when the configuration of the device is changed.
tusb_error_t tud_control_set_config_cb(uint8_t rhport, uint8_t config_number);
+// Called when the DATA stage of a control transaction is complete.
+void tud_control_interface_control_complete_cb(uint8_t rhport, uint8_t interface, tusb_control_request_t const * const p_request);
+
tusb_error_t tud_control_interface_control_cb(uint8_t rhport, uint8_t interface, tusb_control_request_t const * const p_request, uint16_t bytes_already_sent);
//--------------------------------------------------------------------+