rp2/cyw43_configport: Add event hook into cyw43_delay_ms.
Still see some USB issues apparently caused by delays loading wifi firmware. cyw43_delay_ms is used to wait in the driver, so we should call the event hook in there. Fixes #8963.
This commit is contained in:
parent
1230d86dca
commit
45ab801c30
|
@ -93,6 +93,7 @@ static inline void cyw43_delay_ms(uint32_t ms) {
|
||||||
int32_t start = mp_hal_ticks_us();
|
int32_t start = mp_hal_ticks_us();
|
||||||
while (mp_hal_ticks_us() - start < us) {
|
while (mp_hal_ticks_us() - start < us) {
|
||||||
__WFI();
|
__WFI();
|
||||||
|
MICROPY_EVENT_POLL_HOOK_FAST;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue