use new helper function

This commit is contained in:
2022-03-03 18:32:08 +01:00
parent 2ef8f5a32e
commit d2356ac1fa
2 changed files with 3 additions and 2 deletions

View File

@ -1,6 +1,7 @@
from tmtccmd.config import (
add_op_code_entry,
add_service_op_code_entry,
generate_op_code_options,
ServiceOpCodeDictT,
OpCodeDictKeys,
)
@ -107,7 +108,7 @@ def add_pl_pcdu_cmds(cmd_dict: ServiceOpCodeDictT):
op_code_dict=op_code_dict,
keys=OpCodes.SWITCH_ALL_NORMAL,
info="Switch all PL PCDU modules normal, submode ALL ON",
options={OpCodeDictKeys.ENTER_LISTENER_MODE: True}
options=generate_op_code_options(enter_listener_mode=True)
)
add_op_code_entry(
op_code_dict=op_code_dict,

Submodule tmtccmd updated: 02440987a0...e8f5054698