diff options
| author | hathach <[email protected]> | 2025-10-14 20:51:49 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2025-10-14 23:02:32 +0700 |
| commit | 367044e4873fc9ca9cdac918cee684e1e08216e0 (patch) | |
| tree | 4ae740db975c5df02ad488f144026150b889796f /src/portable/sunxi | |
| parent | 4bdd08ed2dacaf22ce2a442f8e13c97b03dfc2cb (diff) | |
fix lots of warnings for missing-prototypes for irqhandler
Diffstat (limited to 'src/portable/sunxi')
| -rw-r--r-- | src/portable/sunxi/dcd_sunxi_musb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/portable/sunxi/dcd_sunxi_musb.c b/src/portable/sunxi/dcd_sunxi_musb.c index 9801a485f..f1f4897cb 100644 --- a/src/portable/sunxi/dcd_sunxi_musb.c +++ b/src/portable/sunxi/dcd_sunxi_musb.c @@ -176,7 +176,7 @@ static void USBC_ForceVbusValidToHigh(void) USBC_Writel(reg_val, USBC_REG_ISCR(USBC0_BASE)); } -void USBC_SelectBus(u32 io_type, u32 ep_type, u32 ep_index) +static void USBC_SelectBus(u32 io_type, u32 ep_type, u32 ep_index) { u32 reg_val = 0; @@ -952,7 +952,7 @@ void dcd_remote_wakeup(uint8_t rhport) { (void)rhport; USBC_REG_set_bit_b(USBC_BP_POWER_D_RESUME, USBC_REG_PCTL(USBC0_BASE)); - delay_ms(10); + tusb_time_delay_ms_api(10); USBC_REG_clear_bit_b(USBC_BP_POWER_D_RESUME, USBC_REG_PCTL(USBC0_BASE)); } |
