Update SX127x.cpp

pull/923/head
Peter Buchegger 2024-01-11 17:52:50 +01:00 zatwierdzone przez GitHub
rodzic 6600860915
commit abfc91a9bc
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -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) {