From b542bc6df6c455249c3830322d771dbe5b99dc4b Mon Sep 17 00:00:00 2001 From: Shane Smiskol Date: Fri, 17 Jun 2022 13:39:15 -0700 Subject: [PATCH] Add Hyundai P harness (#24872) * Update docs_definitions.py * Update values.py --- selfdrive/car/docs_definitions.py | 1 + selfdrive/car/hyundai/values.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/selfdrive/car/docs_definitions.py b/selfdrive/car/docs_definitions.py index f09dad78601093..e1344174abb565 100644 --- a/selfdrive/car/docs_definitions.py +++ b/selfdrive/car/docs_definitions.py @@ -144,6 +144,7 @@ class Harness(Enum): hyundai_m = "Hyundai M" hyundai_n = "Hyundai N" hyundai_o = "Hyundai O" + hyundai_p = "Hyundai P" custom = "Developer" obd_ii = "OBD-II" nissan_a = "Nissan A" diff --git a/selfdrive/car/hyundai/values.py b/selfdrive/car/hyundai/values.py index df7ce1e6f4d209..cf47501588ee67 100644 --- a/selfdrive/car/hyundai/values.py +++ b/selfdrive/car/hyundai/values.py @@ -146,7 +146,7 @@ class HyundaiCarInfo(CarInfo): ], CAR.KIA_STINGER: HyundaiCarInfo("Kia Stinger 2018", video_link="https://www.youtube.com/watch?v=MJ94qoofYw0", harness=Harness.hyundai_c), CAR.KIA_CEED: HyundaiCarInfo("Kia Ceed 2019", harness=Harness.hyundai_e), - CAR.KIA_EV6: HyundaiCarInfo("Kia EV6 2022", "All", harness=Harness.none), + CAR.KIA_EV6: HyundaiCarInfo("Kia EV6 2022", "All", harness=Harness.hyundai_p), # Genesis CAR.GENESIS_G70: HyundaiCarInfo("Genesis G70 2018", "All", harness=Harness.hyundai_f),