Force battery temperature to 0 on comma two

This commit is contained in:
Willem Melching
2020-08-12 16:36:17 +02:00
parent c3a4558026
commit e909fddac0
+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)