      for b in CS.buttonEvents:
        if b.type.raw in self.button_timers:
          # Start/end timer and store current state on change of button pressed
          self.button_timers[b.type.raw] = 1 if b.pressed else 0
          self.button_change_states[b.type.raw] = {"standstill": CS.cruiseState.standstill}
  
    def initialize_v_cruise(self, CS):
      # initializing is handled by the PCM
      if self.CP.pcmCruise:
        return
 
</s> remove   def update_button_timers(self, CS):
 </s> add   def update_button_timers(self, CS, enabled): </s> remove         self.update_button_timers(CS)
 </s> add         self.update_button_timers(CS, enabled) </s> remove     Asserts allowed cruise speeds on enabling with SET
 </s> add     Asserts allowed cruise speeds on enabling with SET.
        self.button_change_states[b.type.raw] = {"standstill": CS.cruiseState.standstill, "enabled": enabled}
      for b in CS.buttonEvents:
        if b.type.raw in self.button_timers:
          # Start/end timer and store current state on change of button pressed
          self.button_timers[b.type.raw] = 1 if b.pressed else 0
        self.button_change_states[b.type.raw] = {"standstill": CS.cruiseState.standstill, "enabled": enabled}
  
    def initialize_v_cruise(self, CS):
      # initializing is handled by the PCM
      if self.CP.pcmCruise:
        return
keep keep keep keep replace 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