fix redundant-decls warnings by usbd/usbh

This commit is contained in:
hathach
2022-06-24 22:22:52 +07:00
parent 1d6918ce41
commit 0042eccb3b
10 changed files with 16 additions and 21 deletions

View File

@@ -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