Replace "ERR" responses with "ERROR"

This commit is contained in:
Lexi / Zoe 2021-04-17 00:11:04 +02:00
parent 9e0ffd394b
commit 201b1db6a6
Signed by: binaryDiv
GPG key ID: F8D4956E224DA232
2 changed files with 9 additions and 12 deletions

View file

@ -28,7 +28,7 @@ CommandLine readNextCommand(char* buffer, uint8_t bufferLength) {
if (readChars >= bufferLength - 1) {
// Reading was aborted after bufferLength-1 characters to prevent buffer overflow.
uartPutLine("ERR buffer overflow, discarding line");
uartPutLine("ERROR buffer overflow, discarding line");
// Discard everything until we read an actual end of line
for (unsigned char c = 0; c != '\n' && c != '\r'; c = uartGetChar());