Skip to content

Commit 841e3d3

Browse files
committed
Discard only what's in _fifo, don't wait for more to arrive.
1 parent 67f9ce7 commit 841e3d3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/bus/sio/NetSIO.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,8 @@ void NetSIO::begin(std::string host, int port, int baud)
5252
end();
5353
}
5454

55+
discard_timeout_ms = 0;
56+
5557
_baud = baud;
5658
_resume_time = 0;
5759
setHost(host, port);

0 commit comments

Comments
 (0)