XRange SX1272Lib
Dependents: XRangePingPong XRange-LoRaWAN-lmic-app lora-transceiver
Fork of SX1276Lib by
SX1272 LoRa RF module https://www.netblocks.eu/xrange-sx1272-lora-datasheet/
Driver for the SX1272 RF Transceiver.
Diff: radio/radio.cpp
- Revision:
- 13:618826a997e2
- Parent:
- 12:aa5b3bf7fdf4
--- a/radio/radio.cpp Mon Oct 13 07:33:11 2014 +0000 +++ b/radio/radio.cpp Tue Dec 16 10:02:45 2014 +0000 @@ -15,14 +15,14 @@ #include "radio.h" Radio::Radio( void ( *txDone )( ), void ( *txTimeout ) ( ), void ( *rxDone ) ( uint8_t *payload, uint16_t size, int16_t rssi, int8_t snr ), - void ( *rxTimeout ) ( ), void ( *rxError ) ( ), void ( *fhssChangeChannel ) ( uint8_t channelIndex ), void ( *cadDone ) ( bool ChannelActivityDetected ) ) + void ( *rxTimeout ) ( ), void ( *rxError ) ( ), void ( *fhssChangeChannel ) ( uint8_t channelIndex ), void ( *cadDone ) ( bool channelActivityDetected ) ) { - this->txDone = txDone; - this->txTimeout = txTimeout; - this->rxDone = rxDone; - this->rxTimeout = rxTimeout; - this->rxError = rxError; - this->fhssChangeChannel = fhssChangeChannel; + this->txDone = txDone; + this->txTimeout = txTimeout; + this->rxDone = rxDone; + this->rxTimeout = rxTimeout; + this->rxError = rxError; + this->fhssChangeChannel = fhssChangeChannel; this->cadDone = cadDone; }