From b2feb05fa9245f6fb24596611c4f89ac3c141cd5 Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Wed, 8 Sep 2021 13:43:47 +0200 Subject: [PATCH] disable read temp test by default --- pus_tc/pdu1.py | 2 +- pus_tc/pdu2.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pus_tc/pdu1.py b/pus_tc/pdu1.py index e512607..d65cfe7 100644 --- a/pus_tc/pdu1.py +++ b/pus_tc/pdu1.py @@ -90,7 +90,7 @@ def pack_pdu1_test_into(object_id: bytearray, tc_queue: TcQueueT, op_code: str): command = pack_ping_command(object_id, ping_data) tc_queue.appendleft(command.pack_command_tuple()) if PDU1TestProcedure.all or PDU1TestProcedure.read_temperature: - tc_queue.appendleft((QueueCommands.PRINT, "PDU1: Testing temperature reading")) + tc_queue.appendleft((QueueCommands.PRINT, "PDU1: Testing temperature reading")) command = pack_get_param_command( object_id, TableIds.hk, PDUHkTable.temperature.parameter_address, PDUHkTable.temperature.parameter_size diff --git a/pus_tc/pdu2.py b/pus_tc/pdu2.py index 2c08137..61b603a 100644 --- a/pus_tc/pdu2.py +++ b/pus_tc/pdu2.py @@ -30,7 +30,7 @@ class PDU2TestProcedure: gnd_wdt_reset = False ping = False channel_2_off = False # Reaction wheels 5V - read_temperature = True + read_temperature = False read_channel_2_state = False # Reaction wheels 5V read_cur_lu_lim_0 = False # OBC channel_2_on = False # Reaction wheels 5V @@ -94,7 +94,7 @@ def pack_pdu2_test_into(object_id: bytearray, tc_queue: TcQueueT, op_code: str) PDUConfigTable.out_en_2.parameter_size, Channel.on) tc_queue.appendleft(command.pack_command_tuple()) if PDU2TestProcedure.all or PDU2TestProcedure.read_temperature: - tc_queue.appendleft((QueueCommands.PRINT, "PDU2: Testing temperature reading")) + tc_queue.appendleft((QueueCommands.PRINT, "PDU2: Testing temperature reading")) command = pack_get_param_command( object_id, TableIds.hk, PDUHkTable.temperature.parameter_address, PDUHkTable.temperature.parameter_size