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

Make sure we're not adjusting temps on every successful work retrieval on avalon.

This commit is contained in:
Con Kolivas 2013-05-26 08:57:02 +10:00
parent 4784ecce75
commit 4076e6b36e

View File

@ -645,7 +645,7 @@ static void avalon_parse_results(struct cgpu_info *avalon, struct avalon_info *i
found = true;
mutex_lock(&info->lock);
if (!avalon->results++ % info->miner_count) {
if (!(++avalon->results % info->miner_count)) {
gettemp = true;
avalon->results = 0;
}