Commit 91f4a6b9 authored by iabdalkader's avatar iabdalkader Committed by Damien George

mimxrt/mpmetalport: Use mp_event_handle_nowait() for metal_poll.

Signed-off-by: default avatariabdalkader <i.abdalkader@gmail.com>
parent 67ebe086
......@@ -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
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment