Fork for LoDev
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 );