编辑power_monitoring.py

This commit is contained in:
2025-09-12 18:51:21 +08:00
parent 7848b28e7c
commit 5a815fabe7

View File

@@ -108,8 +108,8 @@ class PowerMonitoring:
# See if we need to shutdown
def should_shutdown(self, ignition: bool, in_car: bool, offroad_timestamp: float | None, started_seen: bool):
if offroad_timestamp is None:
return False
#if offroad_timestamp is None:
return False
now = time.monotonic()
should_shutdown = False