diff --git a/pus_tc/devs/pdu1.py b/pus_tc/devs/pdu1.py index 02026c6..893eb7d 100644 --- a/pus_tc/devs/pdu1.py +++ b/pus_tc/devs/pdu1.py @@ -56,7 +56,7 @@ def pack_pdu1_commands(object_id: bytearray, tc_queue: TcQueueT, op_code: str): command = pack_set_param_command( object_id, PDUConfigTable.out_en_0.parameter_address, - PDUConfigTable.out_en_2.parameter_size, + PDUConfigTable.out_en_0.parameter_size, Channel.on, ) tc_queue.appendleft(command.pack_command_tuple()) @@ -65,7 +65,7 @@ def pack_pdu1_commands(object_id: bytearray, tc_queue: TcQueueT, op_code: str): command = pack_set_param_command( object_id, PDUConfigTable.out_en_0.parameter_address, - PDUConfigTable.out_en_2.parameter_size, + PDUConfigTable.out_en_0.parameter_size, Channel.off, ) tc_queue.appendleft(command.pack_command_tuple()) diff --git a/pus_tc/devs/pdu2.py b/pus_tc/devs/pdu2.py index d2619c3..27ef4bc 100644 --- a/pus_tc/devs/pdu2.py +++ b/pus_tc/devs/pdu2.py @@ -22,7 +22,7 @@ class Pdu2OpCodes(enum.Enum): RW_ON = "5" RW_OFF = "6" # There is not really a point of the on command, the SW can not be commanded if the OBC is off - Q7S_OFF = "7" + Q7S_OFF = "32" class PDU2TestProcedure: