mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-07-02 03:52:11 +08:00
add athena last ping time to deviceState (#20961)
old-commit-hash: 4e17c0b01a70acd6df9fbe47689e299877f3cd77
This commit is contained in:
+1
-1
Submodule cereal updated: c429707aef...c73da3724d
@@ -402,6 +402,10 @@ def thermald_thread():
|
||||
msg.deviceState.started = started_ts is not None
|
||||
msg.deviceState.startedMonoTime = int(1e9*(started_ts or 0))
|
||||
|
||||
last_ping = params.get("LastAthenaPingTime")
|
||||
if last_ping is not None:
|
||||
msg.deviceState.lastAthenaPingTime = int(last_ping)
|
||||
|
||||
msg.deviceState.thermalStatus = thermal_status
|
||||
pm.send("deviceState", msg)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user