From 62afc81810daf6511d69dd3f42470003a6689f4f Mon Sep 17 00:00:00 2001 From: firestarsdog <229254897+firestarsdog@users.noreply.github.com> Date: Mon, 3 Aug 2026 23:25:19 -0400 Subject: [PATCH] The CUPRA MAN forgot his GMC SEAT --- selfdrive/ui/lib/starpilot_state.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/selfdrive/ui/lib/starpilot_state.py b/selfdrive/ui/lib/starpilot_state.py index 3d245b708..c03aa1257 100644 --- a/selfdrive/ui/lib/starpilot_state.py +++ b/selfdrive/ui/lib/starpilot_state.py @@ -98,7 +98,6 @@ class StarPilotState: self.car_state.hasModeStarButtons = False self.car_state.isBolt = False self.car_state.isVolt = False - self.params.put("CarMake", fallback_make.title()) if fallback_model: self.params.put("CarModel", fallback_model) @@ -190,7 +189,8 @@ class StarPilotState: self.car_state.vEgoStopping = float(self._safe_get(CP, "vEgoStopping", self.car_state.vEgoStopping)) if car_fingerprint and (not force_fingerprint or PC): - cp_make = car_fingerprint.split('_')[0].title() + make_prefix = car_fingerprint.split("_", 1)[0] + cp_make = make_prefix if make_prefix in {"CUPRA", "GMC", "MAN", "SEAT"} else make_prefix.title() user_make = self.params.get("CarMake") if not (force_fingerprint and PC and user_make and user_make != cp_make): self.params.put("CarModel", car_fingerprint)