From d2356ac1fad23596ee477fb7d8a7038e36ee2cce Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Thu, 3 Mar 2022 18:32:08 +0100 Subject: [PATCH] use new helper function --- config/cmd_definitions.py | 3 ++- tmtccmd | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/config/cmd_definitions.py b/config/cmd_definitions.py index 6f09197..f483d7f 100644 --- a/config/cmd_definitions.py +++ b/config/cmd_definitions.py @@ -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, diff --git a/tmtccmd b/tmtccmd index 0244098..e8f5054 160000 --- a/tmtccmd +++ b/tmtccmd @@ -1 +1 @@ -Subproject commit 02440987a06395803e8e679dd5c491eb8578a8df +Subproject commit e8f505469862f89fbd9d11241a542f37a883f0b7