rp2/cyw43_configport: Set CYW43_EVENT_POLL_HOOK value.

This should allow USB to work while we're loading WiFi firmware.

Fixes issue #8904.
This commit is contained in:
Peter Harper 2022-07-14 18:11:34 +01:00 committed by Damien George
parent 9fd8250d69
commit 33d6994d4c
1 changed files with 2 additions and 0 deletions

View File

@ -95,4 +95,6 @@ static inline void cyw43_delay_ms(uint32_t ms) {
} }
} }
#define CYW43_EVENT_POLL_HOOK MICROPY_EVENT_POLL_HOOK_FAST
#endif // MICROPY_INCLUDED_RP2_CYW43_CONFIGPORT_H #endif // MICROPY_INCLUDED_RP2_CYW43_CONFIGPORT_H