reformated

This commit is contained in:
Jakob Meier 2022-04-27 16:08:51 +02:00
parent af4e3ea574
commit 5de92a366a

View File

@ -152,10 +152,10 @@ def pack_ploc_supv_commands(
tc_queue.appendleft( tc_queue.appendleft(
(QueueCommands.PRINT, "PLOC Supervisor: Select MPSoC boot image") (QueueCommands.PRINT, "PLOC Supervisor: Select MPSoC boot image")
) )
mem = int(input("MEM (NVM0 - 0 or NVM1 - 1):")) mem = int(input("MEM (NVM0 - 0 or NVM1 - 1): "))
bp0 = int(input("BP0 (0 or 1):")) bp0 = int(input("BP0 (0 or 1): "))
bp1 = int(input("BP1 (0 or 1):")) bp1 = int(input("BP1 (0 or 1): "))
bp2 = int(input("BP2 (0 or 1):")) bp2 = int(input("BP2 (0 or 1): "))
command = pack_sel_boot_image_cmd(object_id, mem, bp0, bp1, bp2) command = pack_sel_boot_image_cmd(object_id, mem, bp0, bp1, bp2)
command = PusTelecommand(service=8, subservice=128, ssc=24, app_data=command) command = PusTelecommand(service=8, subservice=128, ssc=24, app_data=command)
tc_queue.appendleft(command.pack_command_tuple()) tc_queue.appendleft(command.pack_command_tuple())