[CC1101] Update cached len value.
This commit is contained in:
parent
13a77dff2a
commit
c0f5ef922c
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue