Force battery temperature to 0 on comma two

pull/1785/head
Willem Melching 5 years ago
parent c3a4558026
commit e909fddac0
  1. 1
      selfdrive/thermald/thermald.py

@ -248,6 +248,7 @@ def thermald_thread():
if is_uno: if is_uno:
msg.thermal.batteryPercent = 100 msg.thermal.batteryPercent = 100
msg.thermal.batteryStatus = "Charging" msg.thermal.batteryStatus = "Charging"
msg.thermal.bat = 0
current_filter.update(msg.thermal.batteryCurrent / 1e6) current_filter.update(msg.thermal.batteryCurrent / 1e6)

Loading…
Cancel
Save