EPS command bugfix #285
@ -116,9 +116,9 @@ def handle_pus_procedure(
|
|||||||
|
|
||||||
def handle_eps_procedure(queue_helper: DefaultPusQueueHelper, cmd_path_list: List[str]):
|
def handle_eps_procedure(queue_helper: DefaultPusQueueHelper, cmd_path_list: List[str]):
|
||||||
obj_id_man = get_object_ids()
|
obj_id_man = get_object_ids()
|
||||||
if len(cmd_path_list) == 1:
|
assert len(cmd_path_list) >= 1
|
||||||
return pack_power_commands(queue_helper, cmd_path_list[0])
|
if cmd_path_list[0] == "power":
|
||||||
assert len(cmd_path_list) >= 2
|
return pack_power_commands(queue_helper, cmd_path_list[1])
|
||||||
if cmd_path_list[0] == "pwr_ctrl":
|
if cmd_path_list[0] == "pwr_ctrl":
|
||||||
return pack_power_ctrl_command(queue_helper, cmd_path_list[1])
|
return pack_power_ctrl_command(queue_helper, cmd_path_list[1])
|
||||||
if cmd_path_list[0] == "p60_dock":
|
if cmd_path_list[0] == "p60_dock":
|
||||||
|
Loading…
Reference in New Issue
Block a user