Browse Source

Flag adl as active if any card is successfully activated.

Con Kolivas 14 years ago
parent
commit
311420db9d
1 changed files with 3 additions and 2 deletions
  1. 3 2
      adl.c

+ 3 - 2
adl.c

@@ -336,9 +336,10 @@ void init_adl(int nDevs)
 			ga->autoengine = true;
 
 		gpus[gpu].has_adl = true;
-	}
 
-	adl_active = true;
+		/* Flag adl as active if any card is successfully activated */
+		adl_active = true;
+	}
 }
 
 static inline float __gpu_temp(struct gpu_adl *ga)