Fix for serial terminal line break symbol #bugfix
This commit is contained in:
parent
9f1d5dfb6c
commit
1d805b1ced
1 changed files with 2 additions and 1 deletions
|
|
@ -18,7 +18,8 @@ void identifyMarkers() {
|
||||||
char x = Serial.read();
|
char x = Serial.read();
|
||||||
// char y = Wire.read();
|
// char y = Wire.read();
|
||||||
|
|
||||||
if (x == endMarker) {
|
if (x == '\n' || x == '\r')
|
||||||
|
{
|
||||||
serialIncoming = true;
|
serialIncoming = true;
|
||||||
inputBuffer[bytesRecvd] = 0;
|
inputBuffer[bytesRecvd] = 0;
|
||||||
parseData();
|
parseData();
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue