kopia lustrzana https://github.com/jgromes/RadioLib
[CC1101] Update cached len value.
rodzic
13a77dff2a
commit
c0f5ef922c
|
@ -792,6 +792,7 @@ int16_t CC1101::setPacketMode(uint8_t mode, uint8_t len) {
|
||||||
RADIOLIB_ASSERT(state);
|
RADIOLIB_ASSERT(state);
|
||||||
|
|
||||||
// update the cached value
|
// update the cached value
|
||||||
|
_packetLength = len;
|
||||||
_packetLengthConfig = mode;
|
_packetLengthConfig = mode;
|
||||||
return(state);
|
return(state);
|
||||||
}
|
}
|
||||||
|
|
Ładowanie…
Reference in New Issue