mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-11 15:27:53 +00:00
Fix misdefine.
This commit is contained in:
parent
9566a93372
commit
5c8829c17b
2
main.c
2
main.c
@ -5846,7 +5846,7 @@ void enable_device(struct cgpu_info *cgpu)
|
|||||||
cgpu->enabled = true;
|
cgpu->enabled = true;
|
||||||
devices[cgpu->cgminer_id = cgminer_id_count++] = cgpu;
|
devices[cgpu->cgminer_id = cgminer_id_count++] = cgpu;
|
||||||
mining_threads += cgpu->threads;
|
mining_threads += cgpu->threads;
|
||||||
#ifdef OPENCL
|
#ifdef HAVE_OPENCL
|
||||||
if (cgpu->api == &opencl_api) {
|
if (cgpu->api == &opencl_api) {
|
||||||
gpu_threads += cgpu->threads;
|
gpu_threads += cgpu->threads;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user