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>
pull/6418/head
Damien George 2020-09-08 13:52:56 +10:00
rodzic 75344af4ca
commit 27e117307d
3 zmienionych plików z 0 dodań i 7 usunięć

Wyświetl plik

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

Wyświetl plik

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

Wyświetl plik

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