From 3a14e926455dd5f034f0eca7516abb1357b1c971 Mon Sep 17 00:00:00 2001 From: Rick Lan Date: Mon, 15 Jun 2026 12:15:46 +0800 Subject: [PATCH] 2026-06-15: fix(serverd): make sure it load/show vehicle specific settings --- dragonpilot/dashy/serverd.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dragonpilot/dashy/serverd.py b/dragonpilot/dashy/serverd.py index cbf722468..ebac781a1 100755 --- a/dragonpilot/dashy/serverd.py +++ b/dragonpilot/dashy/serverd.py @@ -111,7 +111,9 @@ class AppCache: """Parse CarParams from Params store.""" result = {'brand': '', 'openpilot_longitudinal_control': False} try: - car_params_bytes = self.params.get("CarParams") + # CarParams is cleared offroad/at boot; CarParamsPersistent keeps the last car's + # params so brand/longitudinal-gated settings still show when configuring parked. + car_params_bytes = self.params.get("CarParamsPersistent") or self.params.get("CarParams") if car_params_bytes: from cereal import car with car.CarParams.from_bytes(car_params_bytes) as cp: