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:
parent
4784ecce75
commit
4076e6b36e
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user