diff --git a/opendbc_repo b/opendbc_repo index df97f39d4f..ed8fe80fd9 160000 --- a/opendbc_repo +++ b/opendbc_repo @@ -1 +1 @@ -Subproject commit df97f39d4ff6a433ce794925db957c20619d138d +Subproject commit ed8fe80fd967f748281fb891453ed099c97ba3f7 diff --git a/sunnypilot/mads/mads.py b/sunnypilot/mads/mads.py index 73f9bb3d9d..2071e34409 100644 --- a/sunnypilot/mads/mads.py +++ b/sunnypilot/mads/mads.py @@ -57,7 +57,7 @@ class ModifiedAssistDrivingSystem: if be.type == ButtonType.cancel: if self.selfdrive.enabled: self.selfdrive.events.add(EventName.manualLongitudinalRequired) - if be.type == ButtonType.altButton1 and be.pressed: + if be.type == ButtonType.lkas and be.pressed: if not self.active: if not self.selfdrive.enabled: self.selfdrive.events.add(EventName.buttonCancel)