1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-11 07:17:58 +00:00

Use stack data for HW error% in avalon stats.

This commit is contained in:
Con Kolivas 2013-08-21 21:00:57 +10:00
parent 8a01f5326c
commit c56d44cebd

View File

@ -1501,7 +1501,7 @@ static struct api_data *avalon_api_stats(struct cgpu_info *cgpu)
root = api_add_int(root, "temp3", &(info->temp2), false);
root = api_add_int(root, "temp_max", &(info->temp_max), false);
root = api_add_percent(root, "Device Hardware%", &hwp, false);
root = api_add_percent(root, "Device Hardware%", &hwp, true);
root = api_add_int(root, "no_matching_work", &(info->no_matching_work), false);
for (i = 0; i < info->miner_count; i++) {
char mcw[24];