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)