bug: fix elphapex hashboard parsing

This commit is contained in:
Brett Rowan
2025-08-16 09:38:06 -06:00
parent 8bb35d6d7c
commit 850656fce4

View File

@@ -233,6 +233,7 @@ class ElphapexMiner(StockFirmware):
board_temp_data = list(
filter(lambda x: not x == 0, board["temp_pcb"])
)
if not len(board_temp_data) == 0:
hashboards[board["index"]].temp = sum(board_temp_data) / len(
board_temp_data
)