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:
Damien George 2020-09-08 13:52:56 +10:00
parent 75344af4ca
commit 27e117307d
3 changed files with 0 additions and 7 deletions

View File

@ -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

View File

@ -36,7 +36,6 @@
#include "py/stream.h"
#include "py/runtime.h"
#include "extmod/vfs.h"
#include "mpconfigport.h"
#if MICROPY_MBFS

View File

@ -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