Listen for PowertrainData_10 only on NON ALT_STEER_ANGLE and automatic
This commit is contained in:
parent
8172bab592
commit
d6cd4c2806
|
@ -208,6 +208,10 @@ class CarState(CarStateBase):
|
|||
messages += [
|
||||
("SteeringPinion_Data", 100),
|
||||
]
|
||||
if CP.transmissionType == TransmissionType.automatic:
|
||||
messages += [
|
||||
("PowertrainData_10",10)
|
||||
]
|
||||
if CP.flags & FordFlags.CANFD:
|
||||
messages += [
|
||||
("Lane_Assist_Data3_FD1", 33),
|
||||
|
@ -221,7 +225,6 @@ class CarState(CarStateBase):
|
|||
if CP.transmissionType == TransmissionType.automatic:
|
||||
messages += [
|
||||
("Gear_Shift_by_Wire_FD1", 10),
|
||||
("PowertrainData_10",10)
|
||||
]
|
||||
elif CP.transmissionType == TransmissionType.manual:
|
||||
messages += [
|
||||
|
|
Loading…
Reference in New Issue