summaryrefslogtreecommitdiff
path: root/src/device
diff options
context:
space:
mode:
authorhathach <[email protected]>2019-07-24 23:12:31 +0700
committerhathach <[email protected]>2019-07-24 23:12:31 +0700
commitcaf2b6d46346ee0d27f2e10c57b84a538c799475 (patch)
tree41ce75d6fe3b27a792a03ffa08be0da0ba1661b3 /src/device
parent2a543c0e79b882b054d87f89ee8cf8e83b44e22e (diff)
move tud_vendor_control_* to usbd.h
Diffstat (limited to 'src/device')
-rw-r--r--src/device/usbd.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/device/usbd.h b/src/device/usbd.h
index 5aba18ef3..cd261575d 100644
--- a/src/device/usbd.h
+++ b/src/device/usbd.h
@@ -100,6 +100,10 @@ TU_ATTR_WEAK void tud_suspend_cb(bool remote_wakeup_en);
// Invoked when usb bus is resumed
TU_ATTR_WEAK void tud_resume_cb(void);
+// Invoked when received control request with VENDOR TYPE
+TU_ATTR_WEAK bool tud_vendor_control_request_cb(uint8_t rhport, tusb_control_request_t const * request);
+TU_ATTR_WEAK bool tud_vendor_control_complete_cb(uint8_t rhport, tusb_control_request_t const * request);
+
//--------------------------------------------------------------------+
// Descriptor Templates
//--------------------------------------------------------------------+