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/host/usbh.h | |
| parent | 1d6918ce419b7df13def76759ba804c46ea8024c (diff) | |
fix redundant-decls warnings by usbd/usbh
Diffstat (limited to 'src/host/usbh.h')
| -rw-r--r-- | src/host/usbh.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/host/usbh.h b/src/host/usbh.h index 347c75b8c..560a1ea23 100644 --- a/src/host/usbh.h +++ b/src/host/usbh.h @@ -32,7 +32,6 @@ #endif #include "common/tusb_common.h" -#include "hcd.h" //--------------------------------------------------------------------+ // MACRO CONSTANT TYPEDEF @@ -115,8 +114,11 @@ void tuh_task(void) tuh_task_ext(UINT32_MAX, false); } -// Interrupt handler, name alias to HCD +#ifndef _TUSB_HCD_H_ extern void hcd_int_handler(uint8_t rhport); +#endif + +// Interrupt handler, name alias to HCD #define tuh_int_handler hcd_int_handler bool tuh_vid_pid_get(uint8_t daddr, uint16_t* vid, uint16_t* pid); |
