small TC tweak

This commit is contained in:
Robin Müller 2022-11-21 13:03:42 +01:00
parent 9cd4846d39
commit f5766ea419
No known key found for this signature in database
GPG Key ID: 11D4952C8CCEF814
1 changed files with 1 additions and 1 deletions

View File

@ -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":