use new helper function

This commit is contained in:
Robin Müller 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 ( from tmtccmd.config import (
add_op_code_entry, add_op_code_entry,
add_service_op_code_entry, add_service_op_code_entry,
generate_op_code_options,
ServiceOpCodeDictT, ServiceOpCodeDictT,
OpCodeDictKeys, OpCodeDictKeys,
) )
@ -107,7 +108,7 @@ def add_pl_pcdu_cmds(cmd_dict: ServiceOpCodeDictT):
op_code_dict=op_code_dict, op_code_dict=op_code_dict,
keys=OpCodes.SWITCH_ALL_NORMAL, keys=OpCodes.SWITCH_ALL_NORMAL,
info="Switch all PL PCDU modules normal, submode ALL ON", 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( add_op_code_entry(
op_code_dict=op_code_dict, op_code_dict=op_code_dict,

@ -1 +1 @@
Subproject commit 02440987a06395803e8e679dd5c491eb8578a8df Subproject commit e8f505469862f89fbd9d11241a542f37a883f0b7