mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-27 23:14:21 +00:00
Sleep after sending icarus work to emulate working at 115200 baud.
This commit is contained in:
parent
df81ce6784
commit
4aaeb510c8
@ -901,6 +901,9 @@ static int64_t icarus_scanhash(struct thr_info *thr, struct work *work,
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Simple attempt to emulate writing at 115200 baud */
|
||||||
|
nusleep(4444);
|
||||||
|
|
||||||
if (opt_debug) {
|
if (opt_debug) {
|
||||||
ob_hex = bin2hex(ob_bin, sizeof(ob_bin));
|
ob_hex = bin2hex(ob_bin, sizeof(ob_bin));
|
||||||
applog(LOG_DEBUG, "%s%d: sent %s",
|
applog(LOG_DEBUG, "%s%d: sent %s",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user