From 64a1ffa1f3a6af645b85aab9a11bb1eb1dfc50e8 Mon Sep 17 00:00:00 2001 From: Jakob Meier Date: Fri, 3 Jun 2022 09:33:34 +0200 Subject: [PATCH] gomspace temperatures now float --- pus_tm/system/tcs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pus_tm/system/tcs.py b/pus_tm/system/tcs.py index 4b552e0..53b3e2e 100644 --- a/pus_tm/system/tcs.py +++ b/pus_tm/system/tcs.py @@ -36,7 +36,7 @@ def handle_thermal_controller_hk_data( pw = PrintWrapper(printer) pw.dlog("Received device temperature data") - fmt_str = "!fffffiiiiffffhhhhhhhfffffff" + fmt_str = "!fffffiiiiffffffffffffffffff" tm_data = struct.unpack(fmt_str, hk_data[:90]) parsed_data = { "Q7S_TEMPERATURE": tm_data[0],