diff --git a/tmtc/payload/ploc_supervisor.py b/tmtc/payload/ploc_supervisor.py index f5d8c3a..bf30308 100644 --- a/tmtc/payload/ploc_supervisor.py +++ b/tmtc/payload/ploc_supervisor.py @@ -36,9 +36,11 @@ latchup_id_dict = { "6": "SAFECOTS", } +HARDCODED = "0" MANUAL_INPUT = "1" update_file_dict = { + HARDCODED: ["hardcoded", ""], MANUAL_INPUT: ["manual input", ""], "2": ["/mnt/sd0/ploc/supervisor/update.bin", "/mnt/sd0/ploc/supervisor/update.bin"], "3": [ @@ -684,7 +686,9 @@ def get_update_file() -> str: LOGGER.info("Specify update file ") input_helper = InputHelper(update_file_dict) key = input_helper.get_key() - if key == MANUAL_INPUT: + if key == HARDCODED: + file = "/home/rmueller/EIVE/eive-obsw/tmtc/filetest" + elif key == MANUAL_INPUT: file = input("Ploc Supervisor: Specify absolute name of update file: ") else: file = update_file_dict[key][1]