some more cleaning and set ID updates

This commit is contained in:
2022-10-18 11:01:01 +02:00
parent 195d5343bc
commit 9171f23d93
7 changed files with 38 additions and 34 deletions

View File

@ -14,7 +14,7 @@ from config.object_ids import (
)
from tmtc.power.pdu1 import (
pdu1_req_hk_cmds,
pdu1_cmds,
pdu1_switch_cmds,
add_pdu1_common_defs,
add_pdu1_cmds,
)
@ -37,7 +37,7 @@ LOGGER = get_console_logger()
def pack_power_commands(q: DefaultPusQueueHelper, op_code: str):
pdu1_cmds(q, op_code)
pdu1_switch_cmds(q, op_code)
pdu2_cmds(q, op_code)
if op_code in PowerOpCodes.INFO_CORE:
pdu1_req_hk_cmds(q, PowerOpCodes.REQUEST_CORE_HK_ONCE[0])