Skip to content

Commit

Permalink
bug: fix vnish overclock setting
Browse files Browse the repository at this point in the history
  • Loading branch information
UpstreamData committed Dec 2, 2024
1 parent 5fec305 commit ecc1618
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions pyasic/config/mining/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -383,8 +383,13 @@ def as_am_modern(self) -> dict:

def as_vnish(self) -> dict:
return {
"chains": [b.as_vnish() for b in self.boards.values() if b.freq != 0],
"globals": {"freq": int(self.global_freq), "volt": int(self.global_volt)},
"overclock": {
"chains": [b.as_vnish() for b in self.boards.values() if b.freq != 0],
"globals": {
"freq": int(self.global_freq),
"volt": int(self.global_volt),
},
}
}

@classmethod
Expand Down

0 comments on commit ecc1618

Please sign in to comment.