card: default events (#34532)

default events
This commit is contained in:
Shane Smiskol
2025-02-04 22:26:47 -06:00
committed by GitHub
parent ddc29430ec
commit 40863aa988
+1 -4
View File
@@ -45,9 +45,6 @@ class CarSpecificEvents:
if self.CP.brand in ('body', 'mock'):
events = Events()
elif self.CP.brand in ('subaru', 'mazda', 'tesla'):
events = self.create_common_events(CS, CS_prev)
elif self.CP.brand == 'ford':
events = self.create_common_events(CS, CS_prev, extra_gears=[GearShifter.manumatic])
@@ -160,7 +157,7 @@ class CarSpecificEvents:
events.add(EventName.belowSteerSpeed)
else:
raise ValueError(f"Unsupported car: {self.CP.brand}")
events = self.create_common_events(CS, CS_prev)
return events