minor bugfixes for event handling
This commit is contained in:
@ -19,15 +19,15 @@ class AcsBoardSubmodes(enum.IntEnum):
|
||||
|
||||
def pack_acs_command(tc_queue: TcQueueT, op_code: str):
|
||||
if op_code in AcsOpCodes.ACS_ASS_A_SIDE:
|
||||
tc_queue.appendleft((QueueCommands.PRINT, "Switching to ACS board assembly A side"))
|
||||
tc_queue.appendleft(
|
||||
(QueueCommands.PRINT, "Switching to ACS board assembly A side")
|
||||
)
|
||||
mode_data = pack_mode_data(
|
||||
object_id=ACS_BOARD_ASS_ID,
|
||||
mode=Modes.NORMAL,
|
||||
submode=AcsBoardSubmodes.A_SIDE,
|
||||
)
|
||||
cmd = PusTelecommand(
|
||||
service=200,
|
||||
subservice=Subservices.COMMAND_MODE_COMMAND,
|
||||
app_data=mode_data
|
||||
service=200, subservice=Subservices.COMMAND_MODE_COMMAND, app_data=mode_data
|
||||
)
|
||||
tc_queue.appendleft(cmd.pack_command_tuple())
|
||||
|
Reference in New Issue
Block a user