1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-11 07:17:58 +00:00

Merge pull request #401 from kanoi/bflsc

usb_cleanup() without locking
This commit is contained in:
Con Kolivas 2013-03-08 19:26:02 -08:00
commit 15b4870bae

View File

@ -1567,8 +1567,12 @@ void usb_cleanup()
struct cgpu_info *cgpu;
int i;
hotplug_time = 0;
nmsleep(10);
for (i = 0; i < total_devices; i++) {
cgpu = get_devices(i);
cgpu = devices[i];
switch (cgpu->drv->drv_id) {
case DRIVER_BFLSC:
case DRIVER_BITFORCE: