black
This commit is contained in:
parent
f3c0b7567a
commit
3a60fd2d6d
@ -99,7 +99,7 @@ def pack_rtd_commands(
|
|||||||
)
|
)
|
||||||
)
|
)
|
||||||
if op_code in OpCode.WRITE_CONFIG:
|
if op_code in OpCode.WRITE_CONFIG:
|
||||||
command = object_id.as_bytes + struct.pack('!I', CommandId.WRITE_CONFIG)
|
command = object_id.as_bytes + struct.pack("!I", CommandId.WRITE_CONFIG)
|
||||||
q.add_pus_tc(PusTelecommand(service=8, subservice=128, app_data=command))
|
q.add_pus_tc(PusTelecommand(service=8, subservice=128, app_data=command))
|
||||||
|
|
||||||
|
|
||||||
|
@ -320,9 +320,7 @@ def pack_acs_ctrl_command(p: ServiceProviderParams):
|
|||||||
elif op_code in OpCodes.DISABLE_MEKF_HK:
|
elif op_code in OpCodes.DISABLE_MEKF_HK:
|
||||||
q.add_log_cmd(Info.DISABLE_MEKF_HK)
|
q.add_log_cmd(Info.DISABLE_MEKF_HK)
|
||||||
q.add_pus_tc(
|
q.add_pus_tc(
|
||||||
disable_periodic_hk_command(
|
disable_periodic_hk_command(True, make_sid(ACS_CONTROLLER, SetId.MEKF_DATA))
|
||||||
True, make_sid(ACS_CONTROLLER, SetId.MEKF_DATA)
|
|
||||||
)
|
|
||||||
)
|
)
|
||||||
elif op_code in OpCodes.REQUEST_CTRL_VAL_HK:
|
elif op_code in OpCodes.REQUEST_CTRL_VAL_HK:
|
||||||
q.add_log_cmd(Info.REQUEST_CTRL_VAL_HK)
|
q.add_log_cmd(Info.REQUEST_CTRL_VAL_HK)
|
||||||
|
Loading…
Reference in New Issue
Block a user