Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: DISCO-L072CZ-LRWAN1_LoRa_PingPong
Fork of SX1276GenericLib by
Diff: sx1276/sx1276-hal.h
- Revision:
- 26:87796ee62589
- Parent:
- 25:3778e6204cc1
- Child:
- 29:a793ce879585
--- a/sx1276/sx1276-hal.h Fri May 13 15:09:10 2016 +0000
+++ b/sx1276/sx1276-hal.h Fri Mar 24 15:06:46 2017 +0000
@@ -51,6 +51,10 @@
* Antenna switch GPIO pins objects
*/
DigitalInOut antSwitch;
+#ifdef MURTA_ANT_SWITCH
+ DigitalInOut antSwitchTX;
+ DigitalInOut antSwitchTXBoost;
+#endif
DigitalIn fake;
@@ -61,7 +65,11 @@
SX1276MB1xAS( RadioEvents_t *events,
PinName mosi, PinName miso, PinName sclk, PinName nss, PinName reset,
PinName dio0, PinName dio1, PinName dio2, PinName dio3, PinName dio4, PinName dio5,
- PinName antSwitch );
+#ifdef MURTA_ANT_SWITCH
+ PinName antSwitch, PinName antSwitchTX, PinName antSwitchTXBoost);
+#else
+ PinName antSwitch );
+#endif
SX1276MB1xAS( RadioEvents_t *events );
