diff options
author | Daniel Friesel <daniel.friesel@uos.de> | 2020-05-14 08:47:15 +0200 |
---|---|---|
committer | Daniel Friesel <daniel.friesel@uos.de> | 2020-05-14 08:47:15 +0200 |
commit | 7add7f43d77b5cd398a5e824dfae5bfd89c66268 (patch) | |
tree | 3769ee3a1652cbd6ac74431316c7b51183f0f632 /src/driver/nrf24l01.cc | |
parent | 0f52a41e472af9f61689f8cbc2a88361c98929fc (diff) |
nrf24l01: add arduino/msp430fr* support
Diffstat (limited to 'src/driver/nrf24l01.cc')
-rw-r--r-- | src/driver/nrf24l01.cc | 8 |
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" |