mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-07-24 01:12:06 +08:00
it's a json now
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user