Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: Nucleo_Private_LoRa
Diff: sx1276/sx1276.cpp
- 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 ) &