ports: Move MICROPY_PY_LWIP_ENTER/REENTER/EXIT defns to mphalport.h.

Following ad806df857 where the
MICROPY_PY_PENDSV_ENTER/REENTER/EXIT macro definitions were moved to
mphalport.h.

Signed-off-by: Damien George <damien@micropython.org>
This commit is contained in:
Damien George
2024-01-05 15:37:17 +11:00
parent ee226a8b43
commit d45176fc27
8 changed files with 19 additions and 19 deletions

View File

@@ -245,11 +245,6 @@ extern const struct _mp_obj_type_t mod_network_nic_type_wiznet5k;
#define MICROPY_HW_BOOTSEL_DELAY_US 8
#endif
// Prevent the "lwIP task" from running when unsafe to do so.
#define MICROPY_PY_LWIP_ENTER lwip_lock_acquire();
#define MICROPY_PY_LWIP_REENTER lwip_lock_acquire();
#define MICROPY_PY_LWIP_EXIT lwip_lock_release();
// Port level Wait-for-Event macro
//
// Do not use this macro directly, include py/runtime.h and