mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-10 23:08:07 +00:00
Flag adl as active if any card is successfully activated.
This commit is contained in:
parent
058303bcf3
commit
311420db9d
3
adl.c
3
adl.c
@ -336,9 +336,10 @@ void init_adl(int nDevs)
|
|||||||
ga->autoengine = true;
|
ga->autoengine = true;
|
||||||
|
|
||||||
gpus[gpu].has_adl = true;
|
gpus[gpu].has_adl = true;
|
||||||
}
|
|
||||||
|
|
||||||
|
/* Flag adl as active if any card is successfully activated */
|
||||||
adl_active = true;
|
adl_active = true;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static inline float __gpu_temp(struct gpu_adl *ga)
|
static inline float __gpu_temp(struct gpu_adl *ga)
|
||||||
|
Loading…
Reference in New Issue
Block a user