Skip to content

Commit

Permalink
Fix color for required boot nvpmodel
Browse files Browse the repository at this point in the history
  • Loading branch information
rbonghi committed Dec 18, 2024
1 parent ac1a749 commit 478a856
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jtop/gui/pcontrol.py
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ def control_nvpmodes(self, pos_y, pos_x, key, mouse):
pass
# Draw all modes
current_mode = self.jetson.nvpmodel.name
colors = [curses.A_NORMAL if status else NColors.red() for status in self.jetson.nvpmodel.status]
colors = [curses.A_NORMAL if status else NColors.yellow() for status in self.jetson.nvpmodel.status]
try:
self._nvpmodel_profile.update(pos_y + 1, pos_x + 2, key, mouse, current_mode, colors)
except curses.error:
Expand Down

0 comments on commit 478a856

Please sign in to comment.