kopia lustrzana https://github.com/jgromes/RadioLib
[nRF24] Removed redundant null terminator
rodzic
90944a5b00
commit
99a5a7d1e4
|
@ -218,9 +218,6 @@ int16_t nRF24::readData(uint8_t* data, size_t len) {
|
|||
// read packet data
|
||||
SPIreadRxPayload(data, length);
|
||||
|
||||
// add terminating null
|
||||
data[length] = 0;
|
||||
|
||||
// clear interrupt
|
||||
clearIRQ();
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue