Skip to content

Commit

Permalink
Set timeout to 0 for FD HDLC example
Browse files Browse the repository at this point in the history
  • Loading branch information
lexus2k committed Oct 23, 2019
1 parent d123432 commit bc5e6c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/tinyfd_loopback/tinyfd_loopback.ino
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ void onReceive(Tiny::IPacket &pkt)
void setup()
{
/* No timeout, since we want non-blocking UART operations. */
Serial.setTimeout(10);
Serial.setTimeout(0);
/* Initialize serial protocol for test purposes */
Serial.begin(115200);
/* Lets process all incoming frames */
Expand Down

0 comments on commit bc5e6c3

Please sign in to comment.