From 3a60fd2d6dbb9add119397bda0d049b77409585b Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Fri, 20 Jan 2023 10:35:30 +0100 Subject: [PATCH] black --- eive_tmtc/pus_tc/devs/rtd.py | 2 +- eive_tmtc/tmtc/acs/acs_ctrl.py | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/eive_tmtc/pus_tc/devs/rtd.py b/eive_tmtc/pus_tc/devs/rtd.py index 239c7b9..a97f277 100644 --- a/eive_tmtc/pus_tc/devs/rtd.py +++ b/eive_tmtc/pus_tc/devs/rtd.py @@ -99,7 +99,7 @@ def pack_rtd_commands( ) ) 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)) diff --git a/eive_tmtc/tmtc/acs/acs_ctrl.py b/eive_tmtc/tmtc/acs/acs_ctrl.py index daf645f..86efc20 100644 --- a/eive_tmtc/tmtc/acs/acs_ctrl.py +++ b/eive_tmtc/tmtc/acs/acs_ctrl.py @@ -320,9 +320,7 @@ def pack_acs_ctrl_command(p: ServiceProviderParams): elif op_code in OpCodes.DISABLE_MEKF_HK: q.add_log_cmd(Info.DISABLE_MEKF_HK) q.add_pus_tc( - disable_periodic_hk_command( - True, make_sid(ACS_CONTROLLER, SetId.MEKF_DATA) - ) + disable_periodic_hk_command(True, make_sid(ACS_CONTROLLER, SetId.MEKF_DATA)) ) elif op_code in OpCodes.REQUEST_CTRL_VAL_HK: q.add_log_cmd(Info.REQUEST_CTRL_VAL_HK)