kopia lustrzana https://github.com/jgromes/RadioLib
[SX127x] Fixed packet length not proagating correctly (#666)
rodzic
91d42ebf0e
commit
18ff62890a
|
@ -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
|
||||
|
|
Ładowanie…
Reference in New Issue