kopia lustrzana https://github.com/micropython/micropython
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>pull/13778/head
rodzic
b91b2a7fe9
commit
a30c29398a
|
@ -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"
|
||||
|
|
|
@ -24,7 +24,6 @@
|
|||
* THE SOFTWARE.
|
||||
*/
|
||||
|
||||
#include "py/mpthread.h"
|
||||
#include "pybthread.h"
|
||||
|
||||
typedef pyb_mutex_t mp_thread_mutex_t;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -24,7 +24,6 @@
|
|||
* THE SOFTWARE.
|
||||
*/
|
||||
|
||||
#include "py/mpthread.h"
|
||||
#include "pybthread.h"
|
||||
|
||||
typedef pyb_mutex_t mp_thread_mutex_t;
|
||||
|
|
Ładowanie…
Reference in New Issue