From e909fddac06acb1a602e3f25578c61a9e2b3ec11 Mon Sep 17 00:00:00 2001 From: Willem Melching Date: Wed, 12 Aug 2020 16:36:17 +0200 Subject: [PATCH] Force battery temperature to 0 on comma two --- selfdrive/thermald/thermald.py | 1 + 1 file changed, 1 insertion(+) diff --git a/selfdrive/thermald/thermald.py b/selfdrive/thermald/thermald.py index db944bdd..093b832d 100755 --- a/selfdrive/thermald/thermald.py +++ b/selfdrive/thermald/thermald.py @@ -248,6 +248,7 @@ def thermald_thread(): if is_uno: msg.thermal.batteryPercent = 100 msg.thermal.batteryStatus = "Charging" + msg.thermal.bat = 0 current_filter.update(msg.thermal.batteryCurrent / 1e6)