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:
17:8add7ec2ee9c
Parent:
15:04374b1c33fa
diff -r d447f8d2d2d6 -r 8add7ec2ee9c sx1276/sx1276-hal.cpp
--- a/sx1276/sx1276-hal.cpp	Tue Mar 31 13:35:04 2015 +0000
+++ b/sx1276/sx1276-hal.cpp	Thu Jun 18 19:12:11 2015 +0000
@@ -71,7 +71,11 @@
                             fake( D8 )
                         #else
                         :   SX1276( txDone, txTimeout, rxDone, rxTimeout, rxError, fhssChangeChannel, cadDone, D11, D12, D13, D10, A0, D2, D3, D4, D5, D8, D9 ),
-                            antSwitch( A4 ), 
+                            #ifdef TARGET_LPC11U6X
+                            antSwitch( P0_23 ),
+                            #else
+                            antSwitch( A4 ),
+                            #endif
                             fake( A3 )
                         #endif
 {