1
0
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:
Con Kolivas 2011-09-07 10:03:06 +10:00
parent 058303bcf3
commit 311420db9d

3
adl.c
View File

@ -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)