Browse Source

Sleep in avalon_write_ready.

nfactor-troky
Con Kolivas 12 years ago
parent
commit
0e071c98f6
  1. 2
      driver-avalon.c

2
driver-avalon.c

@ -388,6 +388,8 @@ static bool avalon_wait_write(int fd) @@ -388,6 +388,8 @@ static bool avalon_wait_write(int fd)
do {
ret = avalon_buffer_full(fd);
if (ret)
nmsleep(50);
} while (ret == true && i++ < 40);
return !ret;

Loading…
Cancel
Save