Commit 7dbfe29782e2c33be9d288355ab17dd51f549155

Con Kolivas 2014-02-18T22:23:28

Add hashfast fanspeed% to statline display.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff --git a/driver-hashfast.c b/driver-hashfast.c
index 61cbdec..63acafb 100644
--- a/driver-hashfast.c
+++ b/driver-hashfast.c
@@ -1487,7 +1487,8 @@ static void hfa_statline_before(char *buf, size_t bufsiz, struct cgpu_info *hash
 		}
 	}
 
-	tailsprintf(buf, bufsiz, "max%3.0fC %3.2fV", hashfast->temp, max_volt);
+	tailsprintf(buf, bufsiz, "%3.0fC %3d%% %3.2fV", hashfast->temp, info->fanspeed,
+		    max_volt);
 }
 
 static void hfa_init(struct cgpu_info __maybe_unused *hashfast)