This commit is contained in:
parent
ffdb4451f6
commit
74cfa2949a
@ -1,11 +1,11 @@
|
|||||||
__version__ = "5.2.0"
|
__version__ = "5.3.0"
|
||||||
|
|
||||||
import logging
|
import logging
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
|
|
||||||
SW_NAME = "eive-tmtc"
|
SW_NAME = "eive-tmtc"
|
||||||
VERSION_MAJOR = 5
|
VERSION_MAJOR = 5
|
||||||
VERSION_MINOR = 2
|
VERSION_MINOR = 3
|
||||||
VERSION_REVISION = 0
|
VERSION_REVISION = 0
|
||||||
|
|
||||||
EIVE_TMTC_ROOT = Path(__file__).parent
|
EIVE_TMTC_ROOT = Path(__file__).parent
|
||||||
|
@ -139,7 +139,8 @@ def handle_event_packet( # noqa C901: Complexity okay here
|
|||||||
_LOGGER.error(f"Received invalid event fields for event {event_def}")
|
_LOGGER.error(f"Received invalid event fields for event {event_def}")
|
||||||
finally:
|
finally:
|
||||||
pw.dlog(
|
pw.dlog(
|
||||||
f"Active SD card {active_sd!r} | SD 0 State {sd_0_state!r} | SD 1 State {sd_1_state!r}"
|
f"Active SD card {active_sd!r} | SD 0 State {sd_0_state!r} | SD 1 "
|
||||||
|
f"State {sd_1_state!r}"
|
||||||
)
|
)
|
||||||
if info.name == "HEALTH_INFO":
|
if info.name == "HEALTH_INFO":
|
||||||
specific_handler = True
|
specific_handler = True
|
||||||
|
@ -1172,7 +1172,7 @@ def handle_fused_rot_rate_data(pw: PrintWrapper, hk_data: bytes):
|
|||||||
pw.dlog("Received Fused Rotation Rates Data Set")
|
pw.dlog("Received Fused Rotation Rates Data Set")
|
||||||
fmt_vec3_double = "!ddd"
|
fmt_vec3_double = "!ddd"
|
||||||
inc_len_vec3_double = struct.calcsize(fmt_vec3_double)
|
inc_len_vec3_double = struct.calcsize(fmt_vec3_double)
|
||||||
if len(hk_data) < 3*inc_len_vec3_double:
|
if len(hk_data) < 3 * inc_len_vec3_double:
|
||||||
pw.dlog("Received HK set too small")
|
pw.dlog("Received HK set too small")
|
||||||
return
|
return
|
||||||
current_idx = 0
|
current_idx = 0
|
||||||
|
Loading…
Reference in New Issue
Block a user