diff options
| author | Damien George <damien@micropython.org> | 2024-02-29 13:35:36 +1100 |
|---|---|---|
| committer | Damien George <damien@micropython.org> | 2024-02-29 13:35:36 +1100 |
| commit | a30c29398a6f38ae7ba3964841892e3e9b60aa0c (patch) | |
| tree | 75fd431c6a13c4e8c45feb41358e14f384209f6b | |
| parent | b91b2a7fe912944b74ff7e7b3e38611ea0fe78ee (diff) | |
ports: Don't include mpthread.h in mpthreadport.h.
Because `mpthreadport.h` is included by `mpthread.h`.
Also remove unnecessary include of `mpthreadport.h` in esp32's `main.c`.
Signed-off-by: Damien George <damien@micropython.org>
| -rw-r--r-- | ports/esp32/main.c | 1 | ||||
| -rw-r--r-- | ports/renesas-ra/mpthreadport.h | 1 | ||||
| -rw-r--r-- | ports/rp2/mpthreadport.h | 1 | ||||
| -rw-r--r-- | ports/stm32/mpthreadport.h | 1 |
4 files changed, 0 insertions, 4 deletions
diff --git a/ports/esp32/main.c b/ports/esp32/main.c index 6f51b7236..6fb15d3cc 100644 --- a/ports/esp32/main.c +++ b/ports/esp32/main.c @@ -59,7 +59,6 @@ #include "usb_serial_jtag.h" #include "modmachine.h" #include "modnetwork.h" -#include "mpthreadport.h" #if MICROPY_BLUETOOTH_NIMBLE #include "extmod/modbluetooth.h" diff --git a/ports/renesas-ra/mpthreadport.h b/ports/renesas-ra/mpthreadport.h index e2b39979f..a68c00e1f 100644 --- a/ports/renesas-ra/mpthreadport.h +++ b/ports/renesas-ra/mpthreadport.h @@ -24,7 +24,6 @@ * THE SOFTWARE. */ -#include "py/mpthread.h" #include "pybthread.h" typedef pyb_mutex_t mp_thread_mutex_t; diff --git a/ports/rp2/mpthreadport.h b/ports/rp2/mpthreadport.h index 868f8d141..7982de96a 100644 --- a/ports/rp2/mpthreadport.h +++ b/ports/rp2/mpthreadport.h @@ -26,7 +26,6 @@ #ifndef MICROPY_INCLUDED_RP2_MPTHREADPORT_H #define MICROPY_INCLUDED_RP2_MPTHREADPORT_H -#include "py/mpthread.h" #include "pico/mutex.h" typedef struct mutex mp_thread_mutex_t; diff --git a/ports/stm32/mpthreadport.h b/ports/stm32/mpthreadport.h index e2b39979f..a68c00e1f 100644 --- a/ports/stm32/mpthreadport.h +++ b/ports/stm32/mpthreadport.h @@ -24,7 +24,6 @@ * THE SOFTWARE. */ -#include "py/mpthread.h" #include "pybthread.h" typedef pyb_mutex_t mp_thread_mutex_t; |
