added dual mode command

This commit is contained in:
2022-03-22 11:05:48 +01:00
parent 6e816c4a9c
commit 1b96137148
2 changed files with 14 additions and 0 deletions

View File

@ -112,6 +112,14 @@ def pack_sus_cmds(tc_queue: TcQueueT, op_code: str):
tc_queue=tc_queue,
info="Switching SUS board off",
)
if op_code in SusOpCodes.SUS_ASS_DUAL_MODE:
command_acs_board(
object_id=SUS_BOARD_ASS_ID,
mode=Modes.NORMAL,
submode=DualSideSubmodes.DUAL_SIDE,
tc_queue=tc_queue,
info="Switching to SUS board to dual side",
)
def command_acs_board(object_id: bytes, mode: Modes, submode: int, tc_queue: TcQueueT, info: str):