mirror of
https://github.com/micropython/micropython.git
synced 2026-01-05 03:30:14 +01:00
nrf: Add if-def around inclusion of nrf_sdm.h in main.
Not all targets are using bluetooth le.
This commit is contained in:
committed by
Damien George
parent
6062d46170
commit
f5ed40116f
@@ -47,7 +47,6 @@
|
||||
#include "led.h"
|
||||
#include "uart.h"
|
||||
#include "nrf.h"
|
||||
#include "nrf_sdm.h"
|
||||
#include "pin.h"
|
||||
#include "spi.h"
|
||||
#include "i2c.h"
|
||||
@@ -57,6 +56,10 @@
|
||||
#endif
|
||||
#include "timer.h"
|
||||
|
||||
#if BLUETOOTH_SD
|
||||
#include "nrf_sdm.h"
|
||||
#endif
|
||||
|
||||
#if (MICROPY_PY_BLE_NUS)
|
||||
#include "ble_uart.h"
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user