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

This commit is contained in:
2023-08-16 13:25:29 +02:00
parent b50c75c13c
commit 8ddcc37c74
2 changed files with 22 additions and 64 deletions

View File

@ -1018,7 +1018,7 @@ def handle_gps_data_processed(pw: PrintWrapper, hk_data: bytes):
inc_len_source = struct.calcsize(fmt_source)
inc_len_scalar = struct.calcsize(fmt_scalar)
inc_len_vec = struct.calcsize(fmt_vec)
if len(hk_data) < 2 * inc_len_scalar + 2 * inc_len_vec + inc_len_source:
if len(hk_data) < 3 * inc_len_scalar + 2 * inc_len_vec + inc_len_source:
pw.dlog("Received HK set too small")
return
current_idx = 0