SX1276 library for modtronix inair9. Edited for use with NRF51DK board.
Fork of SX1276Lib_modtronix 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 ) &