From f082f05886fbaf9569eb2aa0d74053784c7acc26 Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Tue, 31 Jan 2023 15:58:56 +0100 Subject: [PATCH] better name for heater controller object --- eive_tmtc/config/object_ids.py | 2 +- eive_tmtc/pus_tc/procedure_packer.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/eive_tmtc/config/object_ids.py b/eive_tmtc/config/object_ids.py index 31d3ac5..2a5e239 100644 --- a/eive_tmtc/config/object_ids.py +++ b/eive_tmtc/config/object_ids.py @@ -30,7 +30,7 @@ SCEX_HANDLER_ID = bytes([0x44, 0x33, 0x00, 0x32]) # Thermal Object IDs THERMAL_CONTROLLER_ID = bytes([0x43, 0x40, 0x00, 0x01]) -HEATER_ID = bytes([0x44, 0x41, 0x00, 0xA4]) +HEATER_CONTROLLER_ID = bytes([0x44, 0x41, 0x00, 0xA4]) TMP_1075_1_HANDLER_ID = bytes([0x44, 0x42, 0x00, 0x04]) TMP_1075_2_HANDLER_ID = bytes([0x44, 0x42, 0x00, 0x05]) diff --git a/eive_tmtc/pus_tc/procedure_packer.py b/eive_tmtc/pus_tc/procedure_packer.py index 855e3cd..4d1f032 100644 --- a/eive_tmtc/pus_tc/procedure_packer.py +++ b/eive_tmtc/pus_tc/procedure_packer.py @@ -47,7 +47,7 @@ from eive_tmtc.config.object_ids import ( ACU_HANDLER_ID, TMP_1075_1_HANDLER_ID, TMP_1075_2_HANDLER_ID, - HEATER_ID, + HEATER_CONTROLLER_ID, IMTQ_HANDLER_ID, RW1_ID, RW2_ID, @@ -116,7 +116,7 @@ def handle_default_procedure( object_id=object_id, q=queue_helper, op_code=op_code ) if service == CustomServiceList.HEATER.value: - object_id = HEATER_ID + object_id = HEATER_CONTROLLER_ID return pack_heater_cmds(object_id=object_id, q=queue_helper, op_code=op_code) if service == CustomServiceList.IMTQ.value: object_id = cast(ObjectIdU32, obj_id_man.get(IMTQ_HANDLER_ID))