Skip to content

Commit

Permalink
Remove hardcoded CPU calulation
Browse files Browse the repository at this point in the history
  • Loading branch information
razman786 committed Jun 6, 2023
1 parent b3a4c53 commit 9ba2dbf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion i8kgui/i8kgui
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ class I8kGui(QMainWindow):
j = 0
once = True
for _ in self.cpu_siblings:
if j > 5 and once:
if j > self.num_phy_cores - 1 and once:
j = 0
once = False
self.cpu_temp_sensors.append(j)
Expand Down

0 comments on commit 9ba2dbf

Please sign in to comment.