diff --git a/opendbc/car/mazda/carstate.py b/opendbc/car/mazda/carstate.py index 34919e04dd6..d64686f2bd7 100644 --- a/opendbc/car/mazda/carstate.py +++ b/opendbc/car/mazda/carstate.py @@ -87,7 +87,7 @@ def update(self, can_parsers) -> structs.CarState: ret.cruiseState.speed = cp.vl["CRZ_EVENTS"]["CRZ_SPEED"] * CV.KPH_TO_MS # stock lkas should be on - # TODO: is this needed? + # LKAS requires detected lane lines; block engagement if none are present ret.invalidLkasSetting = cp_cam.vl["CAM_LANEINFO"]["LANE_LINES"] == 0 if ret.cruiseState.enabled: