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)