From 292bafa0918d386e7f64bf9ed0e114a887420899 Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Thu, 24 Nov 2022 11:57:30 +0100 Subject: [PATCH] put filename at top --- tmtc/payload/ploc_supervisor.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tmtc/payload/ploc_supervisor.py b/tmtc/payload/ploc_supervisor.py index bef949e..8d20129 100644 --- a/tmtc/payload/ploc_supervisor.py +++ b/tmtc/payload/ploc_supervisor.py @@ -38,6 +38,7 @@ latchup_id_dict = { HARDCODED = "0" MANUAL_INPUT = "1" +HARDCODED_FILE = "/home/rmueller/EIVE/eive-obsw/tmtc/filetest/mpsoc_boot.bin" update_file_dict = { HARDCODED: ["hardcoded", ""], @@ -687,7 +688,7 @@ def get_update_file() -> str: input_helper = InputHelper(update_file_dict) key = input_helper.get_key() if key == HARDCODED: - file = "/home/rmueller/EIVE/eive-obsw/tmtc/filetest/fake_5kb.bin" + file = HARDCODED_FILE elif key == MANUAL_INPUT: file = input("Ploc Supervisor: Specify absolute name of update file: ") else: