diff --git a/openpilot/selfdrive/selfdrived/selfdrived.py b/openpilot/selfdrive/selfdrived/selfdrived.py index 9d61dfd930..649c1c3662 100755 --- a/openpilot/selfdrive/selfdrived/selfdrived.py +++ b/openpilot/selfdrive/selfdrived/selfdrived.py @@ -1788,9 +1788,8 @@ class SelfdriveD: # Established ordinary Ford cruise does not require an independent AOL latch. # Its native LONG pedal withdrawal may precede Card; the original combined # publication, live LAT grant and every health/deadline check below still apply. - ford_word = self.CP.safetyConfigs[-1].safetyParam - ordinary_ford = bool(self.CP.openpilotLongitudinalControl and - ford_native_accepts_cp(self.CP, int(car.CarParams.SafetyModel.ford), ford_word)) + ordinary_ford = bool(self.CP.brand == 'ford' and self.CP.openpilotLongitudinalControl and self.CP.safetyConfigs and + ford_native_accepts_cp(self.CP, int(car.CarParams.SafetyModel.ford), self.CP.safetyConfigs[-1].safetyParam)) proof = getattr(self, 'aol_published_input_proof', None) prior = getattr(self, 'aol_published_input_native', None) anchor = getattr(self, 'aol_ordinary_source_anchor', None) diff --git a/prebuilt.json b/prebuilt.json index 2840a0bc54..87ffc79b43 100644 --- a/prebuilt.json +++ b/prebuilt.json @@ -1 +1 @@ -{"protected_inventory_sha256": "4b45cdc16c0b5f192b71940c28bab3704ef3ed6962a9d78fb575174b079ea771", "schema_version": 1} +{"protected_inventory_sha256": "d883a2889150d0426b0cd382349553be92033bbb3017d381ffe7fe7efa5661b5", "schema_version": 1}