put filename at top
This commit is contained in:
parent
70a1d49246
commit
292bafa091
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user