mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-23 13:04:29 +00:00
Merge pull request #397 from kanoi/bflsc
usbutils.c copy full size to 'Last Command'
This commit is contained in:
commit
f4892a43a2
@ -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…
x
Reference in New Issue
Block a user