put filename at top
This commit is contained in:
parent
70a1d49246
commit
292bafa091
@ -38,6 +38,7 @@ latchup_id_dict = {
|
|||||||
|
|
||||||
HARDCODED = "0"
|
HARDCODED = "0"
|
||||||
MANUAL_INPUT = "1"
|
MANUAL_INPUT = "1"
|
||||||
|
HARDCODED_FILE = "/home/rmueller/EIVE/eive-obsw/tmtc/filetest/mpsoc_boot.bin"
|
||||||
|
|
||||||
update_file_dict = {
|
update_file_dict = {
|
||||||
HARDCODED: ["hardcoded", ""],
|
HARDCODED: ["hardcoded", ""],
|
||||||
@ -687,7 +688,7 @@ def get_update_file() -> str:
|
|||||||
input_helper = InputHelper(update_file_dict)
|
input_helper = InputHelper(update_file_dict)
|
||||||
key = input_helper.get_key()
|
key = input_helper.get_key()
|
||||||
if key == HARDCODED:
|
if key == HARDCODED:
|
||||||
file = "/home/rmueller/EIVE/eive-obsw/tmtc/filetest/fake_5kb.bin"
|
file = HARDCODED_FILE
|
||||||
elif key == MANUAL_INPUT:
|
elif key == MANUAL_INPUT:
|
||||||
file = input("Ploc Supervisor: Specify absolute name of update file: ")
|
file = input("Ploc Supervisor: Specify absolute name of update file: ")
|
||||||
else:
|
else:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user