Commit 23736383994afa7af1c40fc3710bff4da64dacb3

Con Kolivas 2013-05-30T10:14:10

Logic fail on minimum fanspeed reporting.

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/driver-avalon.c b/driver-avalon.c
index c021d4d..24dcbdc 100644
--- a/driver-avalon.c
+++ b/driver-avalon.c
@@ -987,7 +987,7 @@ static void avalon_update_temps(struct cgpu_info *avalon, struct avalon_info *in
 static void get_avalon_statline_before(char *buf, struct cgpu_info *avalon)
 {
 	struct avalon_info *info = avalon->device_data;
-	int lowfan = 0, pwm;
+	int lowfan = 10000, pwm;
 
 	/* Find the lowest fan speed. Fan0 is often not populated. */
 	if (info->fan0 > 0)