Update SX127x.cpp
This commit is contained in:
parent
6600860915
commit
abfc91a9bc
1 changed files with 1 additions and 1 deletions
|
@ -542,7 +542,7 @@ bool SX127x::fifoGet(volatile uint8_t* data, int totalLen, volatile int* rcvLen)
|
|||
|
||||
// get the data
|
||||
this->mod->SPIreadRegisterBurst(RADIOLIB_SX127X_REG_FIFO, len, dataPtr);
|
||||
(*rcvLen) += (len);
|
||||
*rcvLen = *rcvLen + len;
|
||||
|
||||
// check if we're done
|
||||
if(*rcvLen >= totalLen) {
|
||||
|
|
Loading…
Add table
Reference in a new issue