mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-08-06 16:55:43 +08:00
Force battery temperature to 0 on comma two
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user