[SX126x] Added missing default packet mode in FSK
This commit is contained in:
parent
1e2c5c10e1
commit
75335bdff3
1 changed files with 3 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue