diff --git a/cereal b/cereal index c429707aef..c73da3724d 160000 --- a/cereal +++ b/cereal @@ -1 +1 @@ -Subproject commit c429707aefcc960657577abc1895f88ea8adaf06 +Subproject commit c73da3724d3236b59b01edf7c1e3daabcf1ce17d diff --git a/selfdrive/thermald/thermald.py b/selfdrive/thermald/thermald.py index a2d63f291c..9a3931965f 100755 --- a/selfdrive/thermald/thermald.py +++ b/selfdrive/thermald/thermald.py @@ -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)