thermald: add deviceType to logs (#31819)

* thermald: add deviceType to logs

* fix
pull/31820/head
Adeeb Shihadeh 1 year ago committed by GitHub
parent 1b6178a77d
commit f6665f8488
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      cereal
  2. 1
      selfdrive/thermald/thermald.py

@ -1 +1 @@
Subproject commit 93d3df3210a8c4f4c7e6f45950f73dc8a2f09a2c Subproject commit 724d1d22ac877ff75058f0d62860cf51c27f3546

@ -216,6 +216,7 @@ def thermald_thread(end_event, hw_queue) -> None:
peripheral_panda_present = peripheralState.pandaType != log.PandaState.PandaType.unknown peripheral_panda_present = peripheralState.pandaType != log.PandaState.PandaType.unknown
msg = read_thermal(thermal_config) msg = read_thermal(thermal_config)
msg.deviceState.deviceType = HARDWARE.get_device_type()
if sm.updated['pandaStates'] and len(pandaStates) > 0: if sm.updated['pandaStates'] and len(pandaStates) > 0:

Loading…
Cancel
Save