Chrysler: Default fingerprint argument to empty fingerprint (#20146)
This commit is contained in:
parent
04cbed3989
commit
700f7db644
|
@ -11,10 +11,7 @@ class CarInterface(CarInterfaceBase):
|
|||
return float(accel) / 3.0
|
||||
|
||||
@staticmethod
|
||||
def get_params(candidate, fingerprint=None, car_fw=None):
|
||||
if fingerprint is None:
|
||||
fingerprint = gen_empty_fingerprint()
|
||||
|
||||
def get_params(candidate, fingerprint=gen_empty_fingerprint(), car_fw=None):
|
||||
ret = CarInterfaceBase.get_std_params(candidate, fingerprint)
|
||||
ret.carName = "chrysler"
|
||||
ret.safetyModel = car.CarParams.SafetyModel.chrysler
|
||||
|
|
Loading…
Reference in a new issue