removed doubled command =

This commit is contained in:
Jakob Meier 2022-05-07 12:00:36 +02:00
parent 0584db4bb1
commit fd6f366878

View File

@ -267,7 +267,7 @@ def pack_ploc_supv_commands(
tc_queue.appendleft( tc_queue.appendleft(
(QueueCommands.PRINT, "PLOC Supervisor: Restart supervisor") (QueueCommands.PRINT, "PLOC Supervisor: Restart supervisor")
) )
command = command = object_id + struct.pack( command = object_id + struct.pack(
"!I", SupvActionIds.RESTART_SUPERVISOR "!I", SupvActionIds.RESTART_SUPERVISOR
) )
command = PusTelecommand(service=8, subservice=128, ssc=52, app_data=command) command = PusTelecommand(service=8, subservice=128, ssc=52, app_data=command)
@ -276,7 +276,7 @@ def pack_ploc_supv_commands(
tc_queue.appendleft( tc_queue.appendleft(
(QueueCommands.PRINT, "PLOC Supervisor: Factory reset clear all") (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 "!I", SupvActionIds.FACTORY_RESET_CLEAR_ALL
) )
command = PusTelecommand(service=8, subservice=128, ssc=53, app_data=command) 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", "PLOC Supervisor: Factory reset clear circular entries",
) )
) )
command = command = object_id + struct.pack( command = object_id + struct.pack(
"!I", SupvActionIds.FACTORY_RESET_CLEAR_CIRCULAR "!I", SupvActionIds.FACTORY_RESET_CLEAR_CIRCULAR
) )
command = PusTelecommand(service=8, subservice=128, ssc=55, app_data=command) command = PusTelecommand(service=8, subservice=128, ssc=55, app_data=command)