- change tuh_event_hook_cb, tud_event_hook_cb to weak default implementation

- change code style
This commit is contained in:
hathach
2024-01-12 15:47:08 +07:00
parent 858077483d
commit 290f4bea91
5 changed files with 244 additions and 259 deletions

View File

@@ -94,7 +94,7 @@ TU_ATTR_WEAK void tuh_mount_cb (uint8_t daddr);
TU_ATTR_WEAK void tuh_umount_cb(uint8_t daddr);
// Invoked when there is a new usb event, which need to be processed by tuh_task()/tuh_task_ext()
TU_ATTR_WEAK void tuh_event_hook_cb(uint8_t rhport, uint32_t eventid, bool in_isr);
void tuh_event_hook_cb(uint8_t rhport, uint32_t eventid, bool in_isr);
//--------------------------------------------------------------------+
// APPLICATION API