编辑power_monitoring.py

This commit is contained in:
2026-04-17 10:11:03 +08:00
parent 308f2f590c
commit 4e0175d3b4
+1 -1
View File
@@ -114,7 +114,7 @@ class PowerMonitoring:
sp_max_time_val_s = MAX_TIME_OFFROAD_S
return 0 < sp_max_time_val_s <= offroad_time
return 0
# See if we need to shutdown
def should_shutdown(self, ignition: bool, in_car: bool, offroad_timestamp: float | None, started_seen: bool):