minor tweaks

This commit is contained in:
Robin Müller 2022-03-14 11:04:40 +01:00
parent fd0afdbd4d
commit 60e938a896
No known key found for this signature in database
GPG Key ID: 71B58F8A3CDFA9AC
2 changed files with 3 additions and 3 deletions

View File

@ -56,7 +56,7 @@ def pack_pdu1_commands(object_id: bytearray, tc_queue: TcQueueT, op_code: str):
command = pack_set_param_command( command = pack_set_param_command(
object_id, object_id,
PDUConfigTable.out_en_0.parameter_address, PDUConfigTable.out_en_0.parameter_address,
PDUConfigTable.out_en_2.parameter_size, PDUConfigTable.out_en_0.parameter_size,
Channel.on, Channel.on,
) )
tc_queue.appendleft(command.pack_command_tuple()) 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( command = pack_set_param_command(
object_id, object_id,
PDUConfigTable.out_en_0.parameter_address, PDUConfigTable.out_en_0.parameter_address,
PDUConfigTable.out_en_2.parameter_size, PDUConfigTable.out_en_0.parameter_size,
Channel.off, Channel.off,
) )
tc_queue.appendleft(command.pack_command_tuple()) tc_queue.appendleft(command.pack_command_tuple())

View File

@ -22,7 +22,7 @@ class Pdu2OpCodes(enum.Enum):
RW_ON = "5" RW_ON = "5"
RW_OFF = "6" RW_OFF = "6"
# There is not really a point of the on command, the SW can not be commanded if the OBC is off # 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: class PDU2TestProcedure: