提交 27e11730 编写于 作者: D Damien George

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: NDamien George <damien@micropython.org>
上级 75344af4
......@@ -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
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册