Skip to content

Commit 47f8df8

Browse files
committed
Allow sending multiple commands in one serial transmission
E.g. "1;2;1;0;2;1\n1;11;1;0;2;1\n1;1;1;0;2;0\n1;2;1;0;2;0\n"
1 parent 1f27c3d commit 47f8df8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

libraries/MySensors/core/MyGatewayTransportSerial.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ bool gatewayTransportAvailable() {
5454
if (inChar == '\n') {
5555
_serialInputString[_serialInputPos] = 0;
5656
available = true;
57+
return true;
5758
} else {
5859
// add it to the inputString:
5960
_serialInputString[_serialInputPos] = inChar;

0 commit comments

Comments
 (0)