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 Semtech

Revision:
12:aa5b3bf7fdf4
Parent:
7:2b555111463f
Child:
13:618826a997e2
diff -r 4a0720f9b7a3 -r aa5b3bf7fdf4 radio/radio.cpp
--- a/radio/radio.cpp	Tue Sep 30 11:10:24 2014 +0000
+++ b/radio/radio.cpp	Mon Oct 13 07:33:11 2014 +0000
@@ -15,7 +15,7 @@
 #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 ) ( ) )
+			  void ( *rxTimeout ) ( ), void ( *rxError ) ( ), void ( *fhssChangeChannel ) ( uint8_t channelIndex ), void ( *cadDone ) ( bool ChannelActivityDetected ) )
 {
 	this->txDone = txDone;
 	this->txTimeout = txTimeout;