[CC1101] Update cached len value.

pull/113/head
Andrea Guglielmini 2020-02-16 14:50:23 +01:00
rodzic 13a77dff2a
commit c0f5ef922c
1 zmienionych plików z 1 dodań i 0 usunięć

Wyświetl plik

@ -792,6 +792,7 @@ int16_t CC1101::setPacketMode(uint8_t mode, uint8_t len) {
RADIOLIB_ASSERT(state);
// update the cached value
_packetLength = len;
_packetLengthConfig = mode;
return(state);
}