diff --git a/pus_tm/hk_handling.py b/pus_tm/hk_handling.py index efdacb5..4f00116 100644 --- a/pus_tm/hk_handling.py +++ b/pus_tm/hk_handling.py @@ -28,7 +28,7 @@ def handle_user_hk_packet(object_id: bytes, set_id: int, hk_data: bytearray, else: LOGGER.info("Serive 3 TM: Syrlinks handler reply with unknown set id") return [], [], bytearray(), 0 - elif object_id == GPS_HANDLER_0_ID or object_id == GPS_HANDLER_1_ID + elif object_id == GPS_HANDLER_0_ID or object_id == GPS_HANDLER_1_ID: return handle_gps_data(hk_data=hk_data) else: LOGGER.info("Service 3 TM: Parsing for this SID has not been implemented.") @@ -141,5 +141,6 @@ def handle_self_test_data(hk_data: bytearray) -> Tuple[list, list, bytearray, in return hk_header, hk_content, validity_buffer, len(hk_header) -def handle_gps_data(hk_data: bytearray): +def handle_gps_data(hk_data: bytearray) -> Tuple[list, list, bytearray, int]: LOGGER.info('Received GPS data') + return [], [], bytearray(), 0 diff --git a/tmtccmd b/tmtccmd index 51619f4..87af3df 160000 --- a/tmtccmd +++ b/tmtccmd @@ -1 +1 @@ -Subproject commit 51619f4724b443a1ce0b5949dd1c1eb9c9eaead0 +Subproject commit 87af3df9fb9860bf12b70bf2eff503a468a893de