From 96346461b4602bbfb15c9f44afec8479f3e149e8 Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Tue, 7 Sep 2021 15:45:05 +0200 Subject: [PATCH] format stuff --- pus_tc/pdu2.py | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/pus_tc/pdu2.py b/pus_tc/pdu2.py index 56f657e..dc4832e 100644 --- a/pus_tc/pdu2.py +++ b/pus_tc/pdu2.py @@ -45,14 +45,18 @@ def pack_pdu2_test_into(object_id: bytearray, tc_queue: TcQueueT, op_code: str) if op_code == Pdu2OpCodes.ACS_SIDE_B_ON.value: tc_queue.appendleft((QueueCommands.PRINT, "PDU2: Turn ACS Side B on")) - command = pack_set_param_command(object_id, PDUConfigTable.out_en_7.parameter_address, - PDUConfigTable.out_en_7.parameter_size, Channel.on) + command = pack_set_param_command( + object_id, PDUConfigTable.out_en_7.parameter_address, + PDUConfigTable.out_en_7.parameter_size, Channel.on + ) tc_queue.appendleft(command.pack_command_tuple()) return tc_queue if op_code == Pdu2OpCodes.ACS_SIDE_B_OFF.value: tc_queue.appendleft((QueueCommands.PRINT, "PDU2: Turn ACS Side B off")) - command = pack_set_param_command(object_id, PDUConfigTable.out_en_7.parameter_address, - PDUConfigTable.out_en_7.parameter_size, Channel.off) + command = pack_set_param_command( + object_id, PDUConfigTable.out_en_7.parameter_address, + PDUConfigTable.out_en_7.parameter_size, Channel.off + ) tc_queue.appendleft(command.pack_command_tuple()) return tc_queue if op_code == Pdu2OpCodes.PRINT_SWITCH_STATE.value: