Browse Source

Merge branch 'master' of https://github.com/ckolivas/cgminer

ckolivas 13 years ago
parent
commit
8c4b11f276
1 changed files with 5 additions and 0 deletions
  1. 5 0
      adl.c

+ 5 - 0
adl.c

@@ -695,6 +695,11 @@ int gpu_fanpercent(int gpu)
 		applog(LOG_WARNING, "You will need to start cgminer from scratch to correct this");
 		applog(LOG_WARNING, "Disabling fanspeed monitoring on this device");
 		ga->has_fanspeed = false;
+		if (ga->twin) {
+			applog(LOG_WARNING, "Disabling fanspeed linking on GPU twins");
+			ga->twin->twin = NULL;;
+			ga->twin = NULL;
+		}
 	}
 	return ret;
 }