Update RF69.cpp
This commit is contained in:
parent
bf061c655f
commit
6600860915
1 changed files with 1 additions and 1 deletions
|
@ -375,7 +375,7 @@ bool RF69::fifoGet(volatile uint8_t* data, int totalLen, volatile int* rcvLen) {
|
|||
|
||||
// get the data
|
||||
this->mod->SPIreadRegisterBurst(RADIOLIB_RF69_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