diff options
| author | sakumisu <[email protected]> | 2025-05-10 21:26:53 +0800 |
|---|---|---|
| committer | sakumisu <[email protected]> | 2025-05-10 21:26:53 +0800 |
| commit | 336aa91d24643140e1fed01112d6a80962dd2496 (patch) | |
| tree | 4c6b1a34a8840475728a5b69fc710770e0e1fb1b /core | |
| parent | 7a0e8cae1a63986a102501309ce82de4c93d12bc (diff) | |
update(port): add sof support
Signed-off-by: sakumisu <[email protected]>
Diffstat (limited to 'core')
| -rw-r--r-- | core/usbd_core.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/core/usbd_core.c b/core/usbd_core.c index a2ec9ffb..10cfc8b0 100644 --- a/core/usbd_core.c +++ b/core/usbd_core.c @@ -1090,6 +1090,11 @@ static void usbd_class_event_notify_handler(uint8_t busid, uint8_t event, void * } } +void usbd_event_sof_handler(uint8_t busid) +{ + g_usbd_core[busid].event_handler(busid, USBD_EVENT_SOF); +} + void usbd_event_connect_handler(uint8_t busid) { g_usbd_core[busid].event_handler(busid, USBD_EVENT_CONNECTED); |
