From 63b3eb767bcb466f579c0629865e30625a545f28 Mon Sep 17 00:00:00 2001 From: rusefi Date: Tue, 2 Nov 2021 17:00:08 -0400 Subject: [PATCH] honda k --- firmware/config/engines/honda_k_dbc.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/firmware/config/engines/honda_k_dbc.cpp b/firmware/config/engines/honda_k_dbc.cpp index 07ad59c25b..19cec70afc 100644 --- a/firmware/config/engines/honda_k_dbc.cpp +++ b/firmware/config/engines/honda_k_dbc.cpp @@ -39,6 +39,11 @@ void setProteusHondaElement2003(DECLARE_CONFIG_PARAMETER_SIGNATURE) { strcpy(CONFIG(engineCode), "K24"); strcpy(CONFIG(vehicleName), "test"); + gppwm_channel *vtsControl = &engineConfiguration->gppwm[0]; + vtsControl->pwmFrequency = 0; + + strcpy(CONFIG(gpPwmNote[0]), "VTS"); + engineConfiguration->tpsMin = 100; engineConfiguration->tpsMax = 830; @@ -61,6 +66,7 @@ void setProteusHondaElement2003(DECLARE_CONFIG_PARAMETER_SIGNATURE) { engineConfiguration->injectionPins[2] = PROTEUS_LS_6; engineConfiguration->injectionPins[3] = PROTEUS_LS_5; + vtsControl->pin = PROTEUS_HS_1; engineConfiguration->vvtPins[0] = PROTEUS_HS_2; engineConfiguration->malfunctionIndicatorPin = PROTEUS_LS_10;