improve syrlinks commanding a bit
This commit is contained in:
@ -278,7 +278,13 @@ def pack_ploc_supv_commands(p: ServiceProviderParams):
|
||||
if key not in FACTORY_RESET_OPS:
|
||||
print("Key invalid!")
|
||||
break
|
||||
q.add_pus_tc(make_fsfw_action_cmd(object_id=PLOC_SUPV_ID, action_id=SupvActionIds.FACTORY_RESET, user_data=bytes([key])))
|
||||
q.add_pus_tc(
|
||||
make_fsfw_action_cmd(
|
||||
object_id=PLOC_SUPV_ID,
|
||||
action_id=SupvActionIds.FACTORY_RESET,
|
||||
user_data=bytes([key]),
|
||||
)
|
||||
)
|
||||
if op_code == "8":
|
||||
q.add_log_cmd("PLOC Supervisor: Set max restart tries")
|
||||
restart_tries = int(input("Specify maximum restart tries: "))
|
||||
|
Reference in New Issue
Block a user