mirror of
https://github.com/GOSTSec/sgminer
synced 2025-09-10 05:02:34 +00:00
Make sure we're not adjusting temps on every successful work retrieval on avalon.
This commit is contained in:
parent
4784ecce75
commit
4076e6b36e
@ -645,7 +645,7 @@ static void avalon_parse_results(struct cgpu_info *avalon, struct avalon_info *i
|
|||||||
found = true;
|
found = true;
|
||||||
|
|
||||||
mutex_lock(&info->lock);
|
mutex_lock(&info->lock);
|
||||||
if (!avalon->results++ % info->miner_count) {
|
if (!(++avalon->results % info->miner_count)) {
|
||||||
gettemp = true;
|
gettemp = true;
|
||||||
avalon->results = 0;
|
avalon->results = 0;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user