1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-03-10 20:51:03 +00:00

Sleep in avalon_write_ready.

This commit is contained in:
Con Kolivas 2013-05-25 15:07:10 +10:00
parent 674539bddc
commit 0e071c98f6

View File

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