more fixes

This commit is contained in:
Jason Wen
2024-11-11 22:17:02 -05:00
parent 249e7c2fa2
commit c0b92dee04
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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)