summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/driver/nrf24l01.cc8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/driver/nrf24l01.cc b/src/driver/nrf24l01.cc
index ab7f9a2..a381fd0 100644
--- a/src/driver/nrf24l01.cc
+++ b/src/driver/nrf24l01.cc
@@ -6,7 +6,15 @@
#include "driver/nrf24l01.h"
#include "driver/nrf24l01/registers.h"
+#ifdef MULTIPASS_ARCH_arduino_nano
+#include "driver/spi.h"
+#endif
+#ifdef MULTIPASS_ARCH_msp430fr5969lp
+#include "driver/spi_b.h"
+#endif
+#ifdef MULTIPASS_ARCH_msp430fr5994lp
#include "driver/spi_b.h"
+#endif
#include "driver/gpio.h"
#include "arch.h"