From f5766ea419ff2213468dab7e19a81075aefd1ad9 Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Mon, 21 Nov 2022 13:03:42 +0100 Subject: [PATCH] small TC tweak --- tmtc/payload/ploc_supervisor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tmtc/payload/ploc_supervisor.py b/tmtc/payload/ploc_supervisor.py index e47b00e..bef949e 100644 --- a/tmtc/payload/ploc_supervisor.py +++ b/tmtc/payload/ploc_supervisor.py @@ -391,7 +391,7 @@ def pack_ploc_supv_commands(p: ServiceProviderParams): command = pack_set_shutdown_timeout_command(object_id.as_bytes) q.add_pus_tc(PusTelecommand(service=8, subservice=128, app_data=command)) if op_code in OpCodes.FACTORY_FLASH: - q.add_log_cmd(Info.FACTORY_FLASH) + q.add_log_cmd(f"{prefix}: {Info.FACTORY_FLASH}") command = object_id.as_bytes + struct.pack("!I", SupvActionIds.FACTORY_FLASH) q.add_pus_tc(PusTelecommand(service=8, subservice=128, app_data=command)) if op_code == "47":