gomspace temperatures now float

This commit is contained in:
Jakob Meier 2022-06-03 09:33:34 +02:00
parent e2de2e0212
commit 64a1ffa1f3
1 changed files with 1 additions and 1 deletions

View File

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