From fd6f3668780bb85cc0a1e01d3f8faf2f9281adea Mon Sep 17 00:00:00 2001 From: Jakob Meier Date: Sat, 7 May 2022 12:00:36 +0200 Subject: [PATCH] removed doubled command = --- pus_tc/devs/ploc_supervisor.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pus_tc/devs/ploc_supervisor.py b/pus_tc/devs/ploc_supervisor.py index d586e38..ace72af 100644 --- a/pus_tc/devs/ploc_supervisor.py +++ b/pus_tc/devs/ploc_supervisor.py @@ -267,7 +267,7 @@ def pack_ploc_supv_commands( tc_queue.appendleft( (QueueCommands.PRINT, "PLOC Supervisor: Restart supervisor") ) - command = command = object_id + struct.pack( + command = object_id + struct.pack( "!I", SupvActionIds.RESTART_SUPERVISOR ) command = PusTelecommand(service=8, subservice=128, ssc=52, app_data=command) @@ -276,7 +276,7 @@ def pack_ploc_supv_commands( tc_queue.appendleft( (QueueCommands.PRINT, "PLOC Supervisor: Factory reset clear all") ) - command = command = object_id + struct.pack( + command = object_id + struct.pack( "!I", SupvActionIds.FACTORY_RESET_CLEAR_ALL ) command = PusTelecommand(service=8, subservice=128, ssc=53, app_data=command) @@ -297,7 +297,7 @@ def pack_ploc_supv_commands( "PLOC Supervisor: Factory reset clear circular entries", ) ) - command = command = object_id + struct.pack( + command = object_id + struct.pack( "!I", SupvActionIds.FACTORY_RESET_CLEAR_CIRCULAR ) command = PusTelecommand(service=8, subservice=128, ssc=55, app_data=command)