added various useful commands

This commit is contained in:
2022-03-16 18:44:28 +01:00
parent d188b10f64
commit 6e14e1b268
5 changed files with 106 additions and 24 deletions

View File

@ -204,9 +204,7 @@ def pack_pdu1_commands(object_id: bytearray, tc_queue: TcQueueT, op_code: str):
)
tc_queue.appendleft(command.pack_command_tuple())
if op_code == GomspaceOpCodes.PRINT_LATCHUPS.value:
tc_queue.appendleft(
(QueueCommands.PRINT, "PDU1: Print Latchups")
)
tc_queue.appendleft((QueueCommands.PRINT, "PDU1: Print Latchups"))
command = generate_action_command(
object_id=object_id, action_id=GomspaceDeviceActionIds.PRINT_LATCHUPS
)