Browse Source

Merge pull request #425 from BitSyncom/avalon

fliter out the wrong result from adjust fan code
nfactor-troky
Con Kolivas 12 years ago
parent
commit
d5981f8380
  1. 2
      driver-avalon.c

2
driver-avalon.c

@ -948,6 +948,7 @@ static int64_t avalon_scanhash(struct thr_info *thr) @@ -948,6 +948,7 @@ static int64_t avalon_scanhash(struct thr_info *thr)
avalon_rotate_array(avalon);
if (hash_count) {
record_temp_fan(info, &ar, &(avalon->temp));
applog(LOG_INFO,
"Avalon: Fan1: %d/m, Fan2: %d/m, Fan3: %d/m\t"
@ -963,6 +964,7 @@ static int64_t avalon_scanhash(struct thr_info *thr) @@ -963,6 +964,7 @@ static int64_t avalon_scanhash(struct thr_info *thr)
info->temp_history_index = 0;
info->temp_sum = 0;
}
}
/* This hashmeter is just a utility counter based on returned shares */
return hash_count;

Loading…
Cancel
Save