Correction in RX config error. If REG_LR_PAYLOADLENGTH and REG_LR_PAYLOADMAXLENGTH is not set, the RX is limited to 64 bytes.
Fork of SX1276Lib by
Diff: radio/radio.cpp
- Revision:
- 13:618826a997e2
- Parent:
- 12:aa5b3bf7fdf4
- Child:
- 21:2e496deb7858
diff -r aa5b3bf7fdf4 -r 618826a997e2 radio/radio.cpp --- 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; }