mimxrt: Remove __WFE() from MICROPY_EVENT_POLL_HOOK.

The device is unreliable with the WFE included.  This needs further
investigation.
This commit is contained in:
robert-hh 2021-06-01 18:23:13 +02:00 committed by Damien George
parent 4c407c790f
commit 5226d6e1ee

View File

@ -125,7 +125,6 @@ extern const struct _mp_obj_module_t mp_module_utime;
do { \ do { \
extern void mp_handle_pending(bool); \ extern void mp_handle_pending(bool); \
mp_handle_pending(true); \ mp_handle_pending(true); \
__WFE(); \
} while (0); } while (0);
#define MICROPY_MAKE_POINTER_CALLABLE(p) ((void *)((mp_uint_t)(p) | 1)) #define MICROPY_MAKE_POINTER_CALLABLE(p) ((void *)((mp_uint_t)(p) | 1))