Skip to content

Commit a30c293

Browse files
committed
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 <[email protected]>
1 parent b91b2a7 commit a30c293

File tree

4 files changed

+0
-4
lines changed

4 files changed

+0
-4
lines changed

ports/esp32/main.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,6 @@
5959
#include "usb_serial_jtag.h"
6060
#include "modmachine.h"
6161
#include "modnetwork.h"
62-
#include "mpthreadport.h"
6362

6463
#if MICROPY_BLUETOOTH_NIMBLE
6564
#include "extmod/modbluetooth.h"

ports/renesas-ra/mpthreadport.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
* THE SOFTWARE.
2525
*/
2626

27-
#include "py/mpthread.h"
2827
#include "pybthread.h"
2928

3029
typedef pyb_mutex_t mp_thread_mutex_t;

ports/rp2/mpthreadport.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626
#ifndef MICROPY_INCLUDED_RP2_MPTHREADPORT_H
2727
#define MICROPY_INCLUDED_RP2_MPTHREADPORT_H
2828

29-
#include "py/mpthread.h"
3029
#include "pico/mutex.h"
3130

3231
typedef struct mutex mp_thread_mutex_t;

ports/stm32/mpthreadport.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
* THE SOFTWARE.
2525
*/
2626

27-
#include "py/mpthread.h"
2827
#include "pybthread.h"
2928

3029
typedef pyb_mutex_t mp_thread_mutex_t;

0 commit comments

Comments
 (0)