From 79a43e3ec167ff7c86b8e964dbba76c7f1063119 Mon Sep 17 00:00:00 2001 From: MoreTore Date: Wed, 21 May 2025 10:28:45 -0500 Subject: [PATCH] fix standstill --- selfdrive/car/mazda/carstate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/selfdrive/car/mazda/carstate.py b/selfdrive/car/mazda/carstate.py index ba2da6373..a6a89b209 100644 --- a/selfdrive/car/mazda/carstate.py +++ b/selfdrive/car/mazda/carstate.py @@ -208,7 +208,7 @@ class CarState(CarStateBase): ret.cruiseState.speed = cp.vl["CRUZE_STATE"]["CRZ_SPEED"] * unit_conversion ret.cruiseState.enabled = (cp.vl["CRUZE_STATE"]["CRZ_STATE"] >= 2) ret.cruiseState.available = (cp.vl["CRUZE_STATE"]["CRZ_STATE"] != 0) - ret.cruiseState.standstill = ret.standstill + ret.cruiseState.standstill = ret.standstill if not self.CP.openpilotLongitudinalControl else False self.cp = cp self.cp_cam = cp_cam