it's a json now

This commit is contained in:
Jason Wen
2025-01-31 23:42:59 -05:00
parent 726b3774b6
commit 29d39ffe71
+7 -2
View File
@@ -1,5 +1,6 @@
from collections import namedtuple
import capnp
import json
import pathlib
import shutil
import sys
@@ -220,8 +221,12 @@ def setup_settings_trips(click, pm: PubMaster, scroll=None):
time.sleep(UI_DELAY)
def setup_settings_vehicle(click, pm: PubMaster, scroll=None):
Params().put("CarPlatform", "HONDA_CIVIC_2022")
Params().put("CarPlatformName", "Honda Civic 2022-24")
Params().put("CarPlatformBundle", json.dumps(
{
"platform": "HONDA_CIVIC_2022",
"name": "Honda Civic 2022-24"
}
))
setup_settings_device(click, pm)
scroll(-400, 278, 862)