From dfab6a98afdbffd5cb8b347cf7319a98b39535ba Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Thu, 30 May 2013 10:18:09 +1000 Subject: [PATCH] Avalon fan factor is already multiplied into the info values. --- driver-avalon.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/driver-avalon.c b/driver-avalon.c index f7d81fa4..c0f217aa 100644 --- a/driver-avalon.c +++ b/driver-avalon.c @@ -996,11 +996,10 @@ static void get_avalon_statline_before(char *buf, struct cgpu_info *avalon) lowfan = info->fan1; if (info->fan2 >= 0 && info->fan2 < lowfan) lowfan = info->fan2; - lowfan *= AVALON_FAN_FACTOR; pwm = info->fan_pwm * 100 / AVALON_DEFAULT_FAN_MAX_PWM; - tailsprintf(buf, "%2d/%3dC %3d%%/%4dR| ", info->temp0, info->temp2, + tailsprintf(buf, "%2d/%3dC %3d%%/%04dR| ", info->temp0, info->temp2, pwm, lowfan); }