Skip to content

Commit

Permalink
minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
rbonghi committed Dec 18, 2024
1 parent 2aaf416 commit 1551f41
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion jtop/core/jetson_variables.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
# https://developer.nvidia.com/embedded/jetpack-archive
NVIDIA_JETPACK = {
# -------- JP6 --------
"36.4.2": "6.1.1",
"36.4.2": "6.1 (rev1)",
"36.4.0": "6.1",
"36.3.0": "6.0",
"36.2.0": "6.0 DP",
Expand Down
4 changes: 3 additions & 1 deletion jtop/core/nvpmodel.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,9 @@ def nvpmodel_decode():
# Extract save mask in nvpm_masks list with the same id
nvpm_masks[mode_id] = parsed_line['mask']
# Make a list
return default, list(nvpm.values()), list(nvpm_masks.values())
nvpm_masks = {}
nvpm_masks_list = list(nvpm_masks.values()) if nvpm_masks else [True] * len(nvpm)
return default, list(nvpm.values()), nvpm_masks_list


def nvpmodel_query():
Expand Down

0 comments on commit 1551f41

Please sign in to comment.