mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-02-26 08:53:53 +08:00
Mazda: set default steering control values (#28342)
don't crash when porting new car
This commit is contained in:
@@ -44,6 +44,7 @@ def create_steering_control(packer, car_fingerprint, frame, apply_steer, lkas):
|
||||
|
||||
csum = csum % 256
|
||||
|
||||
values = {}
|
||||
if car_fingerprint in GEN1:
|
||||
values = {
|
||||
"LKAS_REQUEST": apply_steer,
|
||||
|
||||
Reference in New Issue
Block a user