summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ports/mimxrt/mpmetalport.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/ports/mimxrt/mpmetalport.h b/ports/mimxrt/mpmetalport.h
index 994d57cc3..d197bbc02 100644
--- a/ports/mimxrt/mpmetalport.h
+++ b/ports/mimxrt/mpmetalport.h
@@ -67,7 +67,8 @@ static inline int __metal_sleep_usec(unsigned int usec) {
}
static inline void metal_generic_default_poll(void) {
- MICROPY_EVENT_POLL_HOOK
+ mp_event_handle_nowait();
+ __WFI();
}
#endif // MICROPY_INCLUDED_MIMXRT_METAL_PORT_H