[SX126x] Added missing default packet mode in FSK

This commit is contained in:
jgromes 2020-01-21 14:48:52 +01:00
parent 1e2c5c10e1
commit 75335bdff3

View file

@ -127,6 +127,9 @@ int16_t SX126x::beginFSK(float br, float freqDev, float rxBw, float currentLimit
state = setWhitening(true, 0x0100);
RADIOLIB_ASSERT(state);
state = variablePacketLengthMode(SX126X_MAX_PACKET_LENGTH);
RADIOLIB_ASSERT(state);
state = setDio2AsRfSwitch(false);
return(state);