      if button_type == ButtonType.accelCruise and cruise_standstill:
        return
  
      v_cruise_delta = v_cruise_delta * (5 if long_press else 1)
      if long_press and self.v_cruise_kph % v_cruise_delta != 0:  # partial interval
        self.v_cruise_kph = CRUISE_NEAREST_FUNC[button_type](self.v_cruise_kph / v_cruise_delta) * v_cruise_delta
      else:
        self.v_cruise_kph += v_cruise_delta * CRUISE_INTERVAL_SIGN[button_type]
 
</s> remove         self.update_button_timers(CS)
 </s> add         self.update_button_timers(CS, enabled) </s> remove   def update_button_timers(self, CS):
 </s> add   def update_button_timers(self, CS, enabled): </s> remove         self.button_change_states[b.type.raw] = {"standstill": CS.cruiseState.standstill}
 </s> add         self.button_change_states[b.type.raw] = {"standstill": CS.cruiseState.standstill, "enabled": enabled} </s> remove     Asserts allowed cruise speeds on enabling with SET
 </s> add     Asserts allowed cruise speeds on enabling with SET.
    # Don't adjust speed if we've enabled since the button was depressed (some ports enable on rising edge)
    if not self.button_change_states[button_type]["enabled"]:
      return

      if button_type == ButtonType.accelCruise and cruise_standstill:
        return
  
    # Don't adjust speed if we've enabled since the button was depressed (some ports enable on rising edge)
    if not self.button_change_states[button_type]["enabled"]:
      return

      v_cruise_delta = v_cruise_delta * (5 if long_press else 1)
      if long_press and self.v_cruise_kph % v_cruise_delta != 0:  # partial interval
        self.v_cruise_kph = CRUISE_NEAREST_FUNC[button_type](self.v_cruise_kph / v_cruise_delta) * v_cruise_delta
      else:
        self.v_cruise_kph += v_cruise_delta * CRUISE_INTERVAL_SIGN[button_type]
keep keep add keep keep keep keep keep
 controlsd: no speed increment if enabled on button rising edge (#26490)

* don't increment speed if we enabled on rising edge

* more realistic test 
selfdrive/controls/lib/drive_helpers.py