Skip to content

Commit

Permalink
Fix GPU temperature on GUI
Browse files Browse the repository at this point in the history
  • Loading branch information
rbonghi committed Jan 4, 2024
1 parent cf985a0 commit d7aa5ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jtop/gui/pgpu.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ def draw(self, key, mouse):
# Plot all GPU temperatures
self.stdscr.addstr(first + 1, 1, "Temperatures:", curses.A_NORMAL)
for idx, name in enumerate(self.jetson.temperature):
if 'GPU' in name:
if 'gpu' in name.lower():
sensor = self.jetson.temperature[name]
color_temperature(self.stdscr, first + 1, 15, name, sensor)
# Draw all GPU
Expand Down

0 comments on commit d7aa5ba

Please sign in to comment.