[SX126x] Set default whitener initial value to 0x1FF for SX127x FSK

This commit is contained in:
jgromes 2020-03-14 13:34:31 +01:00
parent 009b8a5373
commit 898696fb52
2 changed files with 2 additions and 2 deletions

View file

@ -131,7 +131,7 @@ int16_t SX126x::beginFSK(float br, float freqDev, float rxBw, float currentLimit
state = setSyncWord(sync, 2);
RADIOLIB_ASSERT(state);
state = setWhitening(true, 0x0100);
state = setWhitening(true, 0x01FF);
RADIOLIB_ASSERT(state);
state = variablePacketLengthMode(SX126X_MAX_PACKET_LENGTH);

View file

@ -725,7 +725,7 @@ class SX126x: public PhysicalLayer {
\param enabled True = Whitening enabled
\param initial Initial value used for the whitening LFSR in FSK mode.
\param initial Initial value used for the whitening LFSR in FSK mode. Defaults to 0x0100, use 0x01FF for SX127x compatibility.
\returns \ref status_codes
*/