mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-07-11 07:52:03 +08:00
only show EON charge alert on EONs
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user