Update thermald to set ignition_seen back to False if Panda disconnected (#820)

pull/833/head
Kishan Karunaratne 6 years ago committed by rbiasini
parent 47e87baa60
commit a0b41e6cf9
  1. 1
      selfdrive/thermald.py

@ -157,6 +157,7 @@ def thermald_thread():
# clear car params when panda gets disconnected # clear car params when panda gets disconnected
if health is None and health_prev is not None: if health is None and health_prev is not None:
params.panda_disconnect() params.panda_disconnect()
ignition_seen = False
health_prev = health health_prev = health
# loggerd is gated based on free space # loggerd is gated based on free space

Loading…
Cancel
Save