Skip to content

Commit

Permalink
[AS9716-32D] Change the order of matching for the revision of pcie.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
roger530-ho committed Sep 5, 2024
1 parent b93137c commit cea0cf0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def __get_conf_rev(self):

label_rev = results[2].decode('ascii')

for rev in (label_rev[:-1], label_rev):
for rev in (label_rev, label_rev[:-1]):
pcie_yaml_file = os.path.join(self.config_path, f"pcie_{rev}.yaml")
if os.path.exists(pcie_yaml_file):
return rev
Expand Down

0 comments on commit cea0cf0

Please sign in to comment.