fix D10 board temp
This commit is contained in:
@@ -221,13 +221,9 @@ class BlackMiner(StockFirmware):
|
|||||||
hashboard = HashBoard(
|
hashboard = HashBoard(
|
||||||
slot=i - board_offset, expected_chips=self.expected_chips
|
slot=i - board_offset, expected_chips=self.expected_chips
|
||||||
)
|
)
|
||||||
|
temp = boards[1].get(f"temp{i}")
|
||||||
chip_temp = boards[1].get(f"temp{i}")
|
|
||||||
if chip_temp:
|
|
||||||
hashboard.chip_temp = round(chip_temp)
|
|
||||||
|
|
||||||
temp = boards[1].get(f"temp2_{i}")
|
|
||||||
if temp:
|
if temp:
|
||||||
|
hashboard.chip_temp = round(temp)
|
||||||
hashboard.temp = round(temp)
|
hashboard.temp = round(temp)
|
||||||
|
|
||||||
hashrate = boards[1].get(f"chain_rate{i}")
|
hashrate = boards[1].get(f"chain_rate{i}")
|
||||||
|
|||||||
Reference in New Issue
Block a user