only show EON charge alert on EONs

pull/20285/head
Adeeb Shihadeh 5 years ago
parent 9151f55e5d
commit 8c207d3cd5
  1. 1
      selfdrive/thermald/thermald.py

@ -406,6 +406,7 @@ def thermald_thread():
msg.deviceState.thermalStatus = thermal_status msg.deviceState.thermalStatus = thermal_status
pm.send("deviceState", msg) pm.send("deviceState", msg)
if EON and not is_uno:
set_offroad_alert_if_changed("Offroad_ChargeDisabled", (not usb_power)) set_offroad_alert_if_changed("Offroad_ChargeDisabled", (not usb_power))
should_start_prev = should_start should_start_prev = should_start

Loading…
Cancel
Save