diff options
| author | Peter Harper <peter.harper@raspberrypi.com> | 2022-07-14 18:11:34 +0100 |
|---|---|---|
| committer | Damien George <damien@micropython.org> | 2022-07-26 01:39:08 +1000 |
| commit | 33d6994d4c5855228ae423f2d77fb2549db9f854 (patch) | |
| tree | edc0fb3b819043f6ec32cd7cbf5c2f4f4f33554a | |
| parent | 9fd8250d6962d016942ac48e0d20767124bcd732 (diff) | |
rp2/cyw43_configport: Set CYW43_EVENT_POLL_HOOK value.
This should allow USB to work while we're loading WiFi firmware.
Fixes issue #8904.
| -rw-r--r-- | ports/rp2/cyw43_configport.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ports/rp2/cyw43_configport.h b/ports/rp2/cyw43_configport.h index 6173964cb..aeb220b20 100644 --- a/ports/rp2/cyw43_configport.h +++ b/ports/rp2/cyw43_configport.h @@ -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 |
