Skip to content

Commit

Permalink
Update cloud_fix.py
Browse files Browse the repository at this point in the history
  • Loading branch information
azerty9971 committed Jan 27, 2025
1 parent 33591b1 commit 1e2449e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def _fix_unaligned_function_or_status_range(device: XTDevice):
if value_descr := config_item.get("valueDesc"):
ls_value, _ = CloudFixes.get_value_descr_dict(value_descr)
if ls_value:
fn_value, _ = CloudFixes.get_value_descr_dict(device.function[status].values)
fn_value, _ = CloudFixes.get_value_descr_dict(device.function[function].values)
fix_dict = CloudFixes.compute_aligned_valuedescr(ls_value, fn_value, {})
for fix_code in fix_dict:
if ls_value:
Expand Down

0 comments on commit 1e2449e

Please sign in to comment.