Skip to content

Commit f1ec7cf

Browse files
committed
ports/mimxrt: Use mp_event_handle_nowait() for metal_poll.
Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
1 parent c2d8168 commit f1ec7cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ports/mimxrt/mpmetalport.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ static inline int __metal_sleep_usec(unsigned int usec) {
6767
}
6868

6969
static inline void metal_generic_default_poll(void) {
70-
MICROPY_EVENT_POLL_HOOK
70+
mp_event_handle_nowait();
7171
}
7272

7373
#endif // MICROPY_INCLUDED_MIMXRT_METAL_PORT_H

0 commit comments

Comments
 (0)