Skip to content

Commit

Permalink
Revert "Drop millisleep(10) from xread() not only on Darwin"
Browse files Browse the repository at this point in the history
This reverts commit 5461658.

It occurred the millisleep() might have been added still by Charles W.
Sullivan as a workaround for buggy USB serial hardware.  Restore it.

Link: #22
Signed-off-by: Janusz Krzysztofik <[email protected]>
  • Loading branch information
jkrzyszt committed May 14, 2020
1 parent d01cc3d commit e815f93
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions xread.c
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,9 @@ unsigned char *buf;
{
break;
}
#ifndef DARWIN
millisleep(10); /* Added by CWS */
#endif
continue;
}
if( (i < 0) && (i_am_relay != 1) )
Expand Down

0 comments on commit e815f93

Please sign in to comment.