Force battery temperature to 0 on comma two

old-commit-hash: e909fddac06acb1a602e3f25578c61a9e2b3ec11
This commit is contained in:
Willem Melching
2020-08-12 16:36:17 +02:00
parent eab33adbc9
commit c52e3fe331
+1
View File
@@ -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)