From e1d5b9019b46b4ff712c0de8be6fdbdf2a1f763c Mon Sep 17 00:00:00 2001 From: Jason Wen Date: Sat, 30 Aug 2025 22:00:13 -0400 Subject: [PATCH] fix --- .../lib/speed_limit_controller/speed_limit_controller.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sunnypilot/selfdrive/controls/lib/speed_limit_controller/speed_limit_controller.py b/sunnypilot/selfdrive/controls/lib/speed_limit_controller/speed_limit_controller.py index b4ec829e44..41a06c5719 100644 --- a/sunnypilot/selfdrive/controls/lib/speed_limit_controller/speed_limit_controller.py +++ b/sunnypilot/selfdrive/controls/lib/speed_limit_controller/speed_limit_controller.py @@ -234,8 +234,8 @@ class SpeedLimitController: self._state = SpeedLimitControlState.active else: self._state = SpeedLimitControlState.pending - elif self.v_cruise_setpoint_changed and self.current_time > (self.last_op_engaged_time + PRE_ACTIVE_GUARD_PERIOD): - # User set cruise to something other than 80 MPH, permanently disable for this session + elif self.current_time > (self.last_op_engaged_time + PRE_ACTIVE_GUARD_PERIOD): + # # If the initial max set speed isn't reached within the allocated period, permanently disable for this session self._state = SpeedLimitControlState.inactive def transition_state_from_pending(self) -> None: