|
|
@@ -623,6 +623,7 @@ bool icarus_detect_custom(const char *devpath, struct device_drv *api, struct IC
|
|
|
icarus->device_fd = -1;
|
|
|
icarus->threads = 1;
|
|
|
icarus->procs = info->fpga_count;
|
|
|
+ icarus->device_data = info;
|
|
|
icarus->set_device_funcs = icarus_set_device_funcs_live;
|
|
|
add_cgpu(icarus);
|
|
|
|
|
|
@@ -634,8 +635,6 @@ bool icarus_detect_custom(const char *devpath, struct device_drv *api, struct IC
|
|
|
icarus->proc_repr,
|
|
|
baud, work_division, fpga_count);
|
|
|
|
|
|
- icarus->device_data = info;
|
|
|
-
|
|
|
timersub(&tv_finish, &tv_start, &(info->golden_tv));
|
|
|
|
|
|
return true;
|