nrf: Remove unnecessary includes of mpconfigport.h and its header guard.
The mpconfigport.h file is an internal header and should only ever be included once by mpconfig.h. Signed-off-by: Damien George <damien@micropython.org>
This commit is contained in:
parent
75344af4ca
commit
27e117307d
@ -32,7 +32,6 @@
|
||||
|
||||
#include "py/runtime.h"
|
||||
#include "ble_drv.h"
|
||||
#include "mpconfigport.h"
|
||||
#include "nrf_sdm.h"
|
||||
#include "ble_gap.h"
|
||||
#include "ble.h" // sd_ble_uuid_encode
|
||||
|
@ -36,7 +36,6 @@
|
||||
#include "py/stream.h"
|
||||
#include "py/runtime.h"
|
||||
#include "extmod/vfs.h"
|
||||
#include "mpconfigport.h"
|
||||
|
||||
#if MICROPY_MBFS
|
||||
|
||||
|
@ -24,9 +24,6 @@
|
||||
* THE SOFTWARE.
|
||||
*/
|
||||
|
||||
#ifndef NRF5_MPCONFIGPORT_H__
|
||||
#define NRF5_MPCONFIGPORT_H__
|
||||
|
||||
#include <mpconfigboard.h>
|
||||
|
||||
#if defined(NRF51822)
|
||||
@ -342,5 +339,3 @@ extern const struct _mp_obj_module_t ble_module;
|
||||
#include <alloca.h>
|
||||
|
||||
#define MICROPY_PIN_DEFS_PORT_H "pin_defs_nrf5.h"
|
||||
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user