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
|
// get the data
|
||||||
this->mod->SPIreadRegisterBurst(RADIOLIB_RF69_REG_FIFO, len, dataPtr);
|
this->mod->SPIreadRegisterBurst(RADIOLIB_RF69_REG_FIFO, len, dataPtr);
|
||||||
(*rcvLen) += (len);
|
*rcvLen = *rcvLen + len;
|
||||||
|
|
||||||
// check if we're done
|
// check if we're done
|
||||||
if(*rcvLen >= totalLen) {
|
if(*rcvLen >= totalLen) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue