File tree Expand file tree Collapse file tree 3 files changed +5
-2
lines changed
connectivity/drivers/802.15.4_RF/atmel-rf-driver Expand file tree Collapse file tree 3 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 2020#include " at24mac.h"
2121#include " PinNames.h"
2222
23- #if defined(MBED_CONF_NANOSTACK_CONFIGURATION) && DEVICE_SPI && DEVICE_I2C && defined(MBED_CONF_RTOS_PRESENT)
23+ #if defined(MBED_CONF_NANOSTACK_CONFIGURATION) && DEVICE_SPI && DEVICE_I2C && DEVICE_INTERRUPTIN && defined(MBED_CONF_RTOS_PRESENT)
2424
2525#include " NanostackRfPhy.h"
2626
Original file line number Diff line number Diff line change 1616
1717#include < string.h>
1818
19- #if defined(MBED_CONF_NANOSTACK_CONFIGURATION) && DEVICE_SPI && DEVICE_INTERRUPTIN && defined(MBED_CONF_RTOS_PRESENT)
19+ #if defined(MBED_CONF_NANOSTACK_CONFIGURATION) && DEVICE_SPI && DEVICE_I2C && DEVICE_INTERRUPTIN && defined(MBED_CONF_RTOS_PRESENT)
2020
2121#include " ns_types.h"
2222#include " platform/arm_hal_interrupt.h"
Original file line number Diff line number Diff line change 1717#ifndef RFBITS_H_
1818#define RFBITS_H_
1919
20+ #if DEVICE_SPI
21+
2022#include " DigitalIn.h"
2123#include " DigitalOut.h"
2224#include " InterruptIn.h"
@@ -78,4 +80,5 @@ class Se2435Pins {
7880 DigitalOut ANT_SEL;
7981};
8082
83+ #endif /* DEVICE_SPI */
8184#endif /* RFBITS_H_ */
You can’t perform that action at this time.
0 commit comments