This commit is contained in:
Robin Müller 2023-03-13 10:45:49 +01:00
parent ae2fd8bb37
commit 21a3813643
No known key found for this signature in database
GPG Key ID: 11D4952C8CCEF814
1 changed files with 3 additions and 1 deletions

View File

@ -690,7 +690,9 @@ def handle_str_hk_data(set_id: int, hk_data: bytes, printer: FsfwTmTcPrinter):
def handle_solution_set(hk_data: bytes, pw: PrintWrapper):
pw.dlog("Received solution set")
if len(hk_data) < 78:
_LOGGER.warning(f"Solution dataset HK data with length {len(hk_data)} too short")
_LOGGER.warning(
f"Solution dataset HK data with length {len(hk_data)} too short"
)
return
ticks_time_fmt = "!IQ"
current_idx = 0