mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-11 15:27:53 +00:00
usbutils.c copy full size to 'Last Command'
This commit is contained in:
parent
2f6660e83f
commit
cb49f3cbb7
@ -1334,7 +1334,7 @@ static void stats(struct cgpu_info *cgpu, struct timeval *tv_start, struct timev
|
|||||||
details->item[item].max_delay = diff;
|
details->item[item].max_delay = diff;
|
||||||
|
|
||||||
details->item[item].total_delay += diff;
|
details->item[item].total_delay += diff;
|
||||||
memcpy(&(details->item[item].last), tv_start, sizeof(tv_start));
|
memcpy(&(details->item[item].last), tv_start, sizeof(*tv_start));
|
||||||
details->item[item].count++;
|
details->item[item].count++;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user