From e80ea20b3463ee65abbfed0771ade2cafd406532 Mon Sep 17 00:00:00 2001 From: Adeeb Shihadeh Date: Mon, 8 Mar 2021 17:00:58 -0800 Subject: [PATCH] only show EON charge alert on EONs old-commit-hash: 8c207d3cd5be2f066af3bbd64857208a414b34f4 --- selfdrive/thermald/thermald.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/selfdrive/thermald/thermald.py b/selfdrive/thermald/thermald.py index f538cd903..362e5ecb5 100755 --- a/selfdrive/thermald/thermald.py +++ b/selfdrive/thermald/thermald.py @@ -406,7 +406,8 @@ def thermald_thread(): msg.deviceState.thermalStatus = thermal_status pm.send("deviceState", msg) - set_offroad_alert_if_changed("Offroad_ChargeDisabled", (not usb_power)) + if EON and not is_uno: + set_offroad_alert_if_changed("Offroad_ChargeDisabled", (not usb_power)) should_start_prev = should_start startup_conditions_prev = startup_conditions.copy()