some more fixes
All checks were successful
EIVE/-/pipeline/head This commit looks good

This commit is contained in:
Robin Müller 2024-05-23 14:45:10 +02:00
parent 673c8b2cf2
commit 8419a4edd7
Signed by: muellerr
GPG Key ID: A649FB78196E3849

View File

@ -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