1
0
mirror of https://github.com/2martens/uni.git synced 2026-05-07 03:46:25 +02:00

[ES] Fixed comparison

Signed-óff-by: Jim Martens <github@2martens.de>
This commit is contained in:
2015-05-29 13:37:03 +02:00
parent 849b799b33
commit 854ee68ff5

View File

@ -94,7 +94,7 @@ void loop() {
bool readable = true;
while (readable) {
currentChar = Serial.read();
readable = (currentChar == -1);
readable = (currentChar != -1);
command[i] = currentChar;
i++;
}