gomspace temperatures now float
This commit is contained in:
parent
e2de2e0212
commit
64a1ffa1f3
@ -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],
|
||||
|
Loading…
Reference in New Issue
Block a user