fix gen 1 standstill

This commit is contained in:
MoreTore
2025-07-03 23:04:37 -05:00
parent 15beba162e
commit 22350cd81c
+1 -1
View File
@@ -124,7 +124,7 @@ class CarState(CarStateBase):
# TODO: the signal used for available seems to be the adaptive cruise signal, instead of the main on
# it should be used for carState.cruiseState.nonAdaptive instead
ret.cruiseState.standstill = cp.vl["PEDALS"]["STANDSTILL"] == 1
ret.cruiseState.standstill = ret.standstill
ret.cruiseState.speed = cp.vl["CRZ_EVENTS"]["CRZ_SPEED"] * CV.KPH_TO_MS
if self.CP.flags & MazdaFlags.RADAR_INTERCEPTOR:
self.crz_info = copy.copy(cp_cam.vl["CRZ_INFO"])