continuing node setup
All checks were successful
EIVE/-/pipeline/pr-main This commit looks good

This commit is contained in:
2023-11-28 17:24:25 +01:00
parent d2fc53c1fa
commit 76fee820e9
6 changed files with 165 additions and 51 deletions

View File

@ -217,7 +217,9 @@ def create_acs_ctrl_node() -> CmdTreeNode:
]
info_strs = [getattr(Info, key) for key in dir(OpCodes) if not key.startswith("__")]
combined_dict = dict(zip(op_code_strs, info_strs))
acs_ctrl = CmdTreeNode("acs_ctrl", "ACS Controller")
acs_ctrl = CmdTreeNode(
"acs_ctrl", "ACS Controller", hide_children_which_are_leaves=True
)
for op_code, info in combined_dict.items():
acs_ctrl.add_child(CmdTreeNode(op_code, info))
return acs_ctrl