mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-08-05 06:55:43 +08:00
more fixes
This commit is contained in:
+1
-1
Submodule opendbc_repo updated: df97f39d4f...ed8fe80fd9
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user