Skip to content

Commit

Permalink
Merge pull request buserror#295 from myokaski/fix-uart-pty
Browse files Browse the repository at this point in the history
Fix receiving after fifo overrun
  • Loading branch information
buserror authored Jul 12, 2018
2 parents c0fac79 + bb75b1d commit b3e5922
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions examples/parts/uart_pty.c
Original file line number Diff line number Diff line change
Expand Up @@ -175,8 +175,6 @@ uart_pty_thread(
struct timeval timo = { 0, 500 };
int ret = select(max+1, &read_set, &write_set, NULL, &timo);

if (!ret)
continue;
if (ret < 0)
break;

Expand Down

0 comments on commit b3e5922

Please sign in to comment.