summaryrefslogtreecommitdiff
path: root/src/device/usbd.h
diff options
context:
space:
mode:
authorhathach <[email protected]>2024-01-12 15:47:08 +0700
committerhathach <[email protected]>2024-01-12 15:47:08 +0700
commit290f4bea91e739979217eb91d589a75f9ac0f6a7 (patch)
tree2bda2d4ac9fe67cefc9ea6b24161ef6df5d890b6 /src/device/usbd.h
parent858077483dc99f2c0031e1e967ac23f031c779bb (diff)
- change tuh_event_hook_cb, tud_event_hook_cb to weak default implementation
- change code style
Diffstat (limited to 'src/device/usbd.h')
-rw-r--r--src/device/usbd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/device/usbd.h b/src/device/usbd.h
index 5456148bf..3ab6c813f 100644
--- a/src/device/usbd.h
+++ b/src/device/usbd.h
@@ -147,7 +147,7 @@ TU_ATTR_WEAK void tud_suspend_cb(bool remote_wakeup_en);
TU_ATTR_WEAK void tud_resume_cb(void);
// Invoked when there is a new usb event, which need to be processed by tud_task()/tud_task_ext()
-TU_ATTR_WEAK void tud_event_hook_cb(uint8_t rhport, uint32_t eventid, bool in_isr);
+void tud_event_hook_cb(uint8_t rhport, uint32_t eventid, bool in_isr);
// Invoked when received control request with VENDOR TYPE
TU_ATTR_WEAK bool tud_vendor_control_xfer_cb(uint8_t rhport, uint8_t stage, tusb_control_request_t const * request);