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 20
20
#include " at24mac.h"
21
21
#include " PinNames.h"
22
22
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)
24
24
25
25
#include " NanostackRfPhy.h"
26
26
Original file line number Diff line number Diff line change 16
16
17
17
#include < string.h>
18
18
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)
20
20
21
21
#include " ns_types.h"
22
22
#include " platform/arm_hal_interrupt.h"
Original file line number Diff line number Diff line change 17
17
#ifndef RFBITS_H_
18
18
#define RFBITS_H_
19
19
20
+ #if DEVICE_SPI
21
+
20
22
#include " DigitalIn.h"
21
23
#include " DigitalOut.h"
22
24
#include " InterruptIn.h"
@@ -78,4 +80,5 @@ class Se2435Pins {
78
80
DigitalOut ANT_SEL;
79
81
};
80
82
83
+ #endif /* DEVICE_SPI */
81
84
#endif /* RFBITS_H_ */
You can’t perform that action at this time.
0 commit comments