From 8419a4edd773eb0eedba912f4678a5e28567e3ed Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Thu, 23 May 2024 14:45:10 +0200 Subject: [PATCH] some more fixes --- eive_tmtc/pus_tm/pus_handler.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/eive_tmtc/pus_tm/pus_handler.py b/eive_tmtc/pus_tm/pus_handler.py index e6d9d7a..ccd09f9 100644 --- a/eive_tmtc/pus_tm/pus_handler.py +++ b/eive_tmtc/pus_tm/pus_handler.py @@ -109,7 +109,7 @@ class PusHandler(SpecificApidHandlerBase): elif service == 20: self._handle_param_packet(packet, tm_packet) elif service == 200: - dedicated_handler = self._handle_mode_packet(packet, tm_packet) + dedicated_handler = self._handle_mode_packet(tm_packet) else: _LOGGER.info( f"The service {service} is not implemented in Telemetry Factory" @@ -207,6 +207,7 @@ class PusHandler(SpecificApidHandlerBase): return True if tm_packet.tm.subservice == ModeSubservice.TM_WRONG_MODE_REPLY: self.pw.dlog(f"Received Mode TM wrong mode reply, mode: {tm_packet.mode}") + return True return False