[nRF24] Removed redundant null terminator
This commit is contained in:
parent
90944a5b00
commit
99a5a7d1e4
1 changed files with 0 additions and 3 deletions
|
@ -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();
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue