From f16556bdc53778cadfd3f202cde430beae48c3f0 Mon Sep 17 00:00:00 2001 From: rusefi Date: Thu, 29 Oct 2020 01:15:55 -0400 Subject: [PATCH] b6 --- firmware/config/engines/vw_b6.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/firmware/config/engines/vw_b6.cpp b/firmware/config/engines/vw_b6.cpp index ab13a0c846..0ed4da7db4 100644 --- a/firmware/config/engines/vw_b6.cpp +++ b/firmware/config/engines/vw_b6.cpp @@ -113,6 +113,15 @@ void setVwPassatB6(DECLARE_CONFIG_PARAMETER_SIGNATURE) { */ coolantControl->pin = TLE8888_PIN_5; // "3 - Lowside 2" + // set tps_min 890 + engineConfiguration->tpsMin = 890; // convert 12to10 bit (ADC/4) + // set tps_max 70 + engineConfiguration->tpsMax = 70; // convert 12to10 bit (ADC/4) + + engineConfiguration->etb.pFactor = 5.12; + engineConfiguration->etb.iFactor = 47; + engineConfiguration->etb.dFactor = 0.088; + engineConfiguration->etb.offset = 0; engineConfiguration->injector.flow = 300;