Skip to content

Commit b3e5922

Browse files
authored
Merge pull request #295 from myokaski/fix-uart-pty
Fix receiving after fifo overrun
2 parents c0fac79 + bb75b1d commit b3e5922

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

examples/parts/uart_pty.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -175,8 +175,6 @@ uart_pty_thread(
175175
struct timeval timo = { 0, 500 };
176176
int ret = select(max+1, &read_set, &write_set, NULL, &timo);
177177

178-
if (!ret)
179-
continue;
180178
if (ret < 0)
181179
break;
182180

0 commit comments

Comments
 (0)