diff options
| author | hathach <[email protected]> | 2022-06-24 22:22:52 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2022-06-24 22:52:11 +0700 |
| commit | 0042eccb3b2ff0f980f3a927a271364a2089ada5 (patch) | |
| tree | f1c970e2554ee084b17483921b6a8c9a5bbf0c7e /src/device/usbd.h | |
| parent | 1d6918ce419b7df13def76759ba804c46ea8024c (diff) | |
fix redundant-decls warnings by usbd/usbh
Diffstat (limited to 'src/device/usbd.h')
| -rw-r--r-- | src/device/usbd.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/device/usbd.h b/src/device/usbd.h index 964cfb992..17b4d927b 100644 --- a/src/device/usbd.h +++ b/src/device/usbd.h @@ -58,8 +58,11 @@ void tud_task (void) // Check if there is pending events need processing by tud_task() bool tud_task_event_ready(void); -// Interrupt handler, name alias to DCD +#ifndef _TUSB_DCD_H_ extern void dcd_int_handler(uint8_t rhport); +#endif + +// Interrupt handler, name alias to DCD #define tud_int_handler dcd_int_handler // Get current bus speed |
