[SX127x] Fixed packet length not proagating correctly (#666)

pull/674/head
jgromes 2023-01-18 22:00:26 +01:00
rodzic 91d42ebf0e
commit 18ff62890a
1 zmienionych plików z 1 dodań i 0 usunięć

Wyświetl plik

@ -381,6 +381,7 @@ int16_t SX127x::startReceive(uint8_t len, uint8_t mode) {
// set expected packet length for SF6
if(_sf == 6) {
state |= _mod->SPIsetRegValue(RADIOLIB_SX127X_REG_PAYLOAD_LENGTH, len);
_packetLength = len;
}
// apply fixes to errata