Driver for the SX1276 RF Transceiver
Fork of SX1276Lib by
Diff: sx1276/sx1276.cpp
- Revision:
- 14:8552d0b840be
- Parent:
- 13:618826a997e2
- Child:
- 15:04374b1c33fa
diff -r 618826a997e2 -r 8552d0b840be sx1276/sx1276.cpp --- 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 ) &