From a5304b650f4771ccc42830db43783f2a61c4d887 Mon Sep 17 00:00:00 2001 From: Andrey Date: Wed, 6 Mar 2024 23:01:36 -0500 Subject: [PATCH] only:uaefi --- firmware/config/engines/honda_obd1.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/firmware/config/engines/honda_obd1.cpp b/firmware/config/engines/honda_obd1.cpp index 6be73de47b..aa39905250 100644 --- a/firmware/config/engines/honda_obd1.cpp +++ b/firmware/config/engines/honda_obd1.cpp @@ -30,6 +30,9 @@ void setHondaObd1() { // ECU does not control main relay engineConfiguration->mainRelayPin = Gpio::Unassigned; + strcpy(engineConfiguration->gpPwmNote[0], "VTC"); + gppwm_channel *vtcControl = &engineConfiguration->gppwm[0]; + vtcControl->pwmFrequency = 0; #if HW_HELLEN_UAEFI // Honda ICM is weird it fires spark on RAISING edge and has internal pull-up // thus we use a low side output to drive OEM ignition @@ -44,5 +47,6 @@ void setHondaObd1() { engineConfiguration->tps1_2AdcChannel = EFI_ADC_NONE; setPPSInputs(EFI_ADC_NONE, EFI_ADC_NONE); + vtcControl->pin = Gpio::MM100_IGN6; #endif // HW_HELLEN_UAEFI }