Fix off by one error in comment
Must have room to append null byte to input
This commit is contained in:
parent
dcda86fb90
commit
9937e6315b
|
|
@ -230,7 +230,7 @@ uint8_t HandleWirelessHEXData(RFM69 radio, uint8_t remoteID, SPIFlash flash, uin
|
||||||
|
|
||||||
//===================================================================================================================
|
//===================================================================================================================
|
||||||
// readSerialLine() - reads a line feed (\n) terminated line from the serial stream
|
// readSerialLine() - reads a line feed (\n) terminated line from the serial stream
|
||||||
// returns # of bytes read, up to 255
|
// returns # of bytes read, up to 254
|
||||||
// timeout in ms, will timeout and return after so long
|
// timeout in ms, will timeout and return after so long
|
||||||
// this is called at the OTA programmer side
|
// this is called at the OTA programmer side
|
||||||
//===================================================================================================================
|
//===================================================================================================================
|
||||||
|
|
@ -522,4 +522,4 @@ void resetUsingWatchdog(uint8_t DEBUG)
|
||||||
if (DEBUG) Serial.print(F("REBOOTING"));
|
if (DEBUG) Serial.print(F("REBOOTING"));
|
||||||
wdt_enable(WDTO_15MS);
|
wdt_enable(WDTO_15MS);
|
||||||
while(1) if (DEBUG) Serial.print(F("."));
|
while(1) if (DEBUG) Serial.print(F("."));
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue