1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-02-05 11:34:16 +00:00

Get rid of zeros which corrupt display.

This commit is contained in:
Con Kolivas 2013-05-30 10:16:04 +10:00
parent 2373638399
commit 06b9e0c4d9

View File

@ -1000,7 +1000,7 @@ static void get_avalon_statline_before(char *buf, struct cgpu_info *avalon)
pwm = info->fan_pwm * 100 / AVALON_DEFAULT_FAN_MAX_PWM; pwm = info->fan_pwm * 100 / AVALON_DEFAULT_FAN_MAX_PWM;
tailsprintf(buf, "%2d/%3dC %3d%%/%04dR| ", info->temp0, info->temp2, tailsprintf(buf, "%2d/%3dC %3d%%/%4dR| ", info->temp0, info->temp2,
pwm, lowfan); pwm, lowfan);
} }