summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ports/nrf/main.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/ports/nrf/main.c b/ports/nrf/main.c
index 0d06f3253..e55883578 100644
--- a/ports/nrf/main.c
+++ b/ports/nrf/main.c
@@ -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