mirror of
https://github.com/2martens/uni.git
synced 2026-05-07 03:46:25 +02:00
@ -94,7 +94,7 @@ void loop() {
|
||||
bool readable = true;
|
||||
while (readable) {
|
||||
currentChar = Serial.read();
|
||||
readable = (currentChar == -1);
|
||||
readable = (currentChar != -1);
|
||||
command[i] = currentChar;
|
||||
i++;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user