From b0ceb046456e62211c9957356e1fa70be56a5a62 Mon Sep 17 00:00:00 2001 From: rusefillc Date: Wed, 13 Nov 2024 22:35:31 -0500 Subject: [PATCH] LCV setPPSCalibration only:alphax-8chan_f7 --- firmware/config/engines/gm_sbc.cpp | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/firmware/config/engines/gm_sbc.cpp b/firmware/config/engines/gm_sbc.cpp index 38007493b6..1df224dc3a 100644 --- a/firmware/config/engines/gm_sbc.cpp +++ b/firmware/config/engines/gm_sbc.cpp @@ -133,12 +133,19 @@ void setGmSbc() { void setGmLcv() { #ifdef HW_HELLEN_4K_GDI - setTPS1Inputs(EFI_ADC_NONE, EFI_ADC_NONE); engineConfiguration->sentInputPins[0] = Gpio::H144_IN_AUX2_DIGITAL; - engineConfiguration->starterControlPin = Gpio::TLE9104_0_OUT_1; // 3B Port injector 2 + // engineConfiguration->starterControlPin = high side :() #endif + +#ifdef HW_HELLEN_8CHAN + engineConfiguration->sentInputPins[0] = Gpio::H144_IN_AUX2_DIGITAL; + engineConfiguration->starterControlPin = Gpio::MM176_IGN5; // 14C +#endif + engineConfiguration->sentEtbType = SentEtbType::GM_TYPE_1; + setTPS1Inputs(EFI_ADC_NONE, EFI_ADC_NONE); + setPPSCalibration(1, 4.25, 0.5, 2.14); setInline4(); engineConfiguration->displacement = 2.5;