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.
pull/8962/head
Peter Harper 2022-07-26 15:56:07 +01:00 zatwierdzone przez Damien George
rodzic 1230d86dca
commit 45ab801c30
1 zmienionych plików z 1 dodań i 0 usunięć

Wyświetl plik

@ -93,6 +93,7 @@ static inline void cyw43_delay_ms(uint32_t ms) {
int32_t start = mp_hal_ticks_us();
while (mp_hal_ticks_us() - start < us) {
__WFI();
MICROPY_EVENT_POLL_HOOK_FAST;
}
}