run black
This commit is contained in:
parent
6308bbb3f0
commit
a1cc1aef94
@ -8,7 +8,6 @@ from eive_tmtc.tmtc.common import pack_mode_cmd_with_info
|
|||||||
import eive_tmtc.config.object_ids as obj_ids
|
import eive_tmtc.config.object_ids as obj_ids
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
class OpCodes:
|
class OpCodes:
|
||||||
THERMAL_CONTROLLER = [obj_ids.THERMAL_CONTROLLER_ID.hex(), "ctrl-th"]
|
THERMAL_CONTROLLER = [obj_ids.THERMAL_CONTROLLER_ID.hex(), "ctrl-th"]
|
||||||
CORE_CONTROLLER = [obj_ids.CORE_CONTROLLER_ID.hex(), "ctrl-core"]
|
CORE_CONTROLLER = [obj_ids.CORE_CONTROLLER_ID.hex(), "ctrl-core"]
|
||||||
@ -25,12 +24,14 @@ def pack_cmd_ctrl_to_prompted_mode(
|
|||||||
from eive_tmtc.pus_tc.prompt_parameters import (
|
from eive_tmtc.pus_tc.prompt_parameters import (
|
||||||
prompt_parameters_cli,
|
prompt_parameters_cli,
|
||||||
)
|
)
|
||||||
|
|
||||||
param_list = [
|
param_list = [
|
||||||
{"name": "Mode", "defaultValue": "2"},
|
{"name": "Mode", "defaultValue": "2"},
|
||||||
{"name": "Submode", "defaultValue": "0"},
|
{"name": "Submode", "defaultValue": "0"},
|
||||||
]
|
]
|
||||||
if gui:
|
if gui:
|
||||||
from eive_tmtc.pus_tc.prompt_parameters import prompt_parameters_gui
|
from eive_tmtc.pus_tc.prompt_parameters import prompt_parameters_gui
|
||||||
|
|
||||||
parameters = prompt_parameters_gui(param_list)
|
parameters = prompt_parameters_gui(param_list)
|
||||||
else:
|
else:
|
||||||
parameters = prompt_parameters_cli(param_list)
|
parameters = prompt_parameters_cli(param_list)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user