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

pull/127/head
jgromes 2020-03-14 13:34:31 +01:00
rodzic 009b8a5373
commit 898696fb52
2 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -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);

Wyświetl plik

@ -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
*/