diff --git a/selfdrive/controls/lib/sunnypilot/custom_stock_longitudinal_controller/controllers.py b/selfdrive/controls/lib/sunnypilot/custom_stock_longitudinal_controller/controllers.py index eb027750a7..343baa32b5 100644 --- a/selfdrive/controls/lib/sunnypilot/custom_stock_longitudinal_controller/controllers.py +++ b/selfdrive/controls/lib/sunnypilot/custom_stock_longitudinal_controller/controllers.py @@ -90,10 +90,6 @@ class CustomStockLongitudinalControllerBase(ABC): self.button_picker = getattr(self, self.type_status, lambda: "default") return self.button_picker() - def reset_button(self): - if self.button_type != 3: - self.button_type = 0 - def type_default(self): self.button_type = 0 return None