mirror of
https://github.com/commaai/agnos-builder.git
synced 2026-10-01 03:43:49 +08:00
oops rm that
This commit is contained in:
@@ -57,7 +57,7 @@ if __name__ == "__main__":
|
||||
|
||||
# time to shutoff?
|
||||
dt = timedelta(seconds=time.monotonic() - max(timestamps.values()))
|
||||
if dt > THRESHOLD and not_engaged:
|
||||
if dt > THRESHOLD:
|
||||
os.system("sudo poweroff")
|
||||
|
||||
print((THRESHOLD - dt), "until shutdown", f"/ {timestamps=}")
|
||||
|
||||
Reference in New Issue
Block a user