[SX126x] Removed redundant null terminator

This commit is contained in:
jgromes 2019-07-02 19:52:26 +02:00
parent bd21ddb7d8
commit b0cd4b5125

View file

@ -468,9 +468,6 @@ int16_t SX126x::readData(uint8_t* data, size_t len) {
return(state);
}
// add terminating null
data[length] = 0;
// clear interrupt flags
state = clearIrqStatus();