SX1276GenericLib to support sx1276 bassed LoRa modules, including HopeRF RFM95, Murata CMWX1ZZABZ and Semtech SX1276MB1MAS/SX1276MB1LAS modules

Dependents:   DISCO-L072CZ-LRWAN1_LoRa_PingPong DISCO-L072CZ-LRWAN1_LoRa_PingPong DISCO-L072CZ-LRWAN1_LoRa_PingPong DISCO-L072CZ-LRWAN1_LoRa_USB_Rx ... more

Fork of SX1276Lib by Semtech

Revision:
14:8552d0b840be
Parent:
13:618826a997e2
Child:
15:04374b1c33fa
--- a/sx1276/sx1276.cpp	Tue Dec 16 10:02:45 2014 +0000
+++ b/sx1276/sx1276.cpp	Wed Jan 07 08:51:37 2015 +0000
@@ -233,8 +233,8 @@
             Write( REG_RXBW, GetFskBandwidthRegValue( bandwidth ) );
             Write( REG_AFCBW, GetFskBandwidthRegValue( bandwidthAfc ) );
 
-            Write( REG_LR_PREAMBLEMSB, ( uint8_t )( ( preambleLen >> 8 ) & 0xFF ) );
-            Write( REG_LR_PREAMBLELSB, ( uint8_t )( preambleLen & 0xFF ) );
+            Write( REG_PREAMBLEMSB, ( uint8_t )( ( preambleLen >> 8 ) & 0xFF ) );
+            Write( REG_PREAMBLELSB, ( uint8_t )( preambleLen & 0xFF ) );
 
             Write( REG_PACKETCONFIG1,
                          ( Read( REG_PACKETCONFIG1 ) &