another small bug
EIVE/-/pipeline/pr-main This commit looks good Details

This commit is contained in:
Robin Müller 2023-10-23 17:20:04 +02:00
parent d900a689da
commit b45b0b2271
Signed by: muellerr
GPG Key ID: FCE0B2BD2195142F
1 changed files with 2 additions and 2 deletions

View File

@ -304,7 +304,7 @@ def pack_pl_pcdu_commands( # noqa C901: Complexity is okay here.
if op_code == OpCode.UPDATE_V_LOWER_LIMIT:
q.add_log_cmd(Info.UPDATE_V_LOWER_LIMIT)
print("Select device to update lower voltage limit for: ")
param_id = dev_select_to_lower_u_update_param_id(dev_select_prompt(True))
param_id = dev_select_to_lower_u_update_param_id(dev_select_prompt(False))
new_param_value = float(
input("Please specify new parameter value as a double: ")
)
@ -316,7 +316,7 @@ def pack_pl_pcdu_commands( # noqa C901: Complexity is okay here.
if op_code == OpCode.UPDATE_V_UPPER_LIMIT:
q.add_log_cmd(Info.UPDATE_V_UPPER_LIMIT)
print("Select device to update upper voltage limit for: ")
param_id = dev_select_to_upper_u_update_param_id(dev_select_prompt(True))
param_id = dev_select_to_upper_u_update_param_id(dev_select_prompt(False))
new_param_value = float(
input("Please specify new parameter value as a double: ")
)