From 9798bfa463ad41979f7ee2d8ec07a001da51e562 Mon Sep 17 00:00:00 2001 From: ellian76 <85388799+ellian76@users.noreply.github.com> Date: Mon, 13 Oct 2025 10:00:20 +0900 Subject: [PATCH] Update cruise.py --- selfdrive/car/cruise.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/selfdrive/car/cruise.py b/selfdrive/car/cruise.py index 1f8a6312ad..4b130e7735 100644 --- a/selfdrive/car/cruise.py +++ b/selfdrive/car/cruise.py @@ -1,5 +1,5 @@ import math -import numpy as np +import numpy as np from cereal import car from openpilot.common.conversions import Conversions as CV @@ -20,7 +20,7 @@ ButtonEvent = car.CarState.ButtonEvent ButtonType = car.CarState.ButtonEvent.Type -CRUISE_LONG_PRESS = 50 +CRUISE_LONG_PRESS = 50 # CRUISE_NEAREST_FUNC = { ButtonType.accelCruise: math.ceil, ButtonType.decelCruise: math.floor,