Skip to content

Commit 1496e51

Browse files
author
Richard Unger
committed
make Commander work with \r also
1 parent 5fc3128 commit 1496e51

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/communication/Commander.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -593,6 +593,7 @@ bool Commander::isSentinel(char ch)
593593
else if (ch == '\r')
594594
{
595595
printVerbose(F("Warn: \\r detected! \n"));
596+
return true; // lets still consider it to end the line...
596597
}
597598
return false;
598599
}

0 commit comments

Comments
 (0)