From c15a4a22d276c6316ad787d94e1eea54cd3e3977 Mon Sep 17 00:00:00 2001 From: rusefillc Date: Wed, 11 Nov 2020 00:43:21 -0500 Subject: [PATCH] GDI Epic #1448 --- firmware/config/engines/vw_b6.cpp | 2 ++ firmware/controllers/settings.cpp | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/firmware/config/engines/vw_b6.cpp b/firmware/config/engines/vw_b6.cpp index d915941e18..a700396804 100644 --- a/firmware/config/engines/vw_b6.cpp +++ b/firmware/config/engines/vw_b6.cpp @@ -127,6 +127,8 @@ void setVwPassatB6(DECLARE_CONFIG_PARAMETER_SIGNATURE) { engineConfiguration->etb.offset = 0; engineConfiguration->injector.flow = 300; + engineConfiguration->tempHpfpStart = 120; + engineConfiguration->tempHpfpDuration = 30; engineConfiguration->idle.solenoidPin = GPIO_UNASSIGNED; engineConfiguration->fanPin = GPIO_UNASSIGNED; diff --git a/firmware/controllers/settings.cpp b/firmware/controllers/settings.cpp index a804c9e2a3..194fb069b7 100644 --- a/firmware/controllers/settings.cpp +++ b/firmware/controllers/settings.cpp @@ -1296,6 +1296,10 @@ static void setValue(const char *paramStr, const char *valueStr) { engineConfiguration->wwaeTau = valueF; } else if (strEqualCaseInsensitive(paramStr, "wwaeBeta")) { engineConfiguration->wwaeBeta = valueF; + } else if (strEqualCaseInsensitive(paramStr, "tempHpfpStart")) { + engineConfiguration->tempHpfpStart = valueF; + } else if (strEqualCaseInsensitive(paramStr, "tempHpfpDuration")) { + engineConfiguration->tempHpfpDuration = valueF; } else if (strEqualCaseInsensitive(paramStr, "cranking_dwell")) { engineConfiguration->ignitionDwellForCrankingMs = valueF; #if EFI_PROD_CODE