File tree Expand file tree Collapse file tree 4 files changed +0
-18
lines changed Expand file tree Collapse file tree 4 files changed +0
-18
lines changed Original file line number Diff line number Diff line change @@ -32,8 +32,6 @@ SPDX-License-Identifier: BSD-3-Clause
32
32
#include " sx1272Regs-Fsk.h"
33
33
#include " sx1272Regs-LoRa.h"
34
34
35
- #ifdef DEVICE_SPI
36
-
37
35
#if defined(FEATURE_COMMON_PAL)
38
36
#include " mbed_trace.h"
39
37
#define TRACE_GROUP " LRAD"
@@ -2169,6 +2167,3 @@ void SX1272_LoRaRadio::handle_timeout_irq()
2169
2167
break ;
2170
2168
}
2171
2169
}
2172
-
2173
- #endif // DEVICE_SPI
2174
-
Original file line number Diff line number Diff line change @@ -39,8 +39,6 @@ SPDX-License-Identifier: BSD-3-Clause
39
39
40
40
#include " lorawan/LoRaRadio.h"
41
41
42
- #ifdef DEVICE_SPI
43
-
44
42
#ifdef MBED_CONF_SX1272_LORA_DRIVER_BUFFER_SIZE
45
43
#define MAX_DATA_BUFFER_SIZE_SX172 MBED_CONF_SX1272_LORA_DRIVER_BUFFER_SIZE
46
44
#else
@@ -426,6 +424,4 @@ class SX1272_LoRaRadio: public LoRaRadio {
426
424
void handle_timeout_irq ();
427
425
};
428
426
429
- #endif // DEVICE_SPI
430
-
431
427
#endif /* SX1272_LORARADIO_H_ */
Original file line number Diff line number Diff line change @@ -30,8 +30,6 @@ SPDX-License-Identifier: BSD-3-Clause
30
30
#include " sx1276Regs-Fsk.h"
31
31
#include " sx1276Regs-LoRa.h"
32
32
33
- #ifdef DEVICE_SPI
34
-
35
33
/* !
36
34
* Sync word for Private LoRa networks
37
35
*/
@@ -2321,6 +2319,3 @@ void SX1276_LoRaRadio::handle_timeout_irq()
2321
2319
}
2322
2320
}
2323
2321
// EOF
2324
-
2325
- #endif // DEVICE_SPI
2326
-
Original file line number Diff line number Diff line change @@ -45,8 +45,6 @@ SPDX-License-Identifier: BSD-3-Clause
45
45
#define MAX_DATA_BUFFER_SIZE_SX1276 256
46
46
#endif
47
47
48
- #ifdef DEVICE_SPI
49
-
50
48
/* *
51
49
* Radio driver implementation for Semtech SX1272 plus variants.
52
50
* Supports only SPI at the moment. Implements pure virtual LoRaRadio class.
@@ -437,6 +435,4 @@ class SX1276_LoRaRadio: public LoRaRadio {
437
435
void handle_timeout_irq ();
438
436
};
439
437
440
- #endif // DEVICE_SPI
441
-
442
438
#endif // SX1276_LORARADIO_H_
You can’t perform that action at this time.
0 commit comments