mirror of
https://github.com/GOSTSec/sgminer
synced 2025-03-10 12:41:02 +00:00
Sleep in avalon_write_ready.
This commit is contained in:
parent
674539bddc
commit
0e071c98f6
@ -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…
x
Reference in New Issue
Block a user