From 30b56c5649af472da40cc1231b7bda2feed31339 Mon Sep 17 00:00:00 2001 From: Andrey Date: Thu, 23 May 2024 08:55:49 -0400 Subject: [PATCH] proper boundaries only:kinetis --- firmware/config/engines/vw_b6.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/firmware/config/engines/vw_b6.cpp b/firmware/config/engines/vw_b6.cpp index 98a920d2b1..5a372b1042 100644 --- a/firmware/config/engines/vw_b6.cpp +++ b/firmware/config/engines/vw_b6.cpp @@ -142,6 +142,7 @@ static const float hardCodedGperSValues[] { void setProteusVwPassatB6() { #if HW_PROTEUS static_assert(sizeof(hardCodedFreqBins) == sizeof(hardCodedGperSValues)); +#if SCRIPT_CURVE_16 == 16 { size_t mi = 0; for (; mi < efi::size(hardCodedFreqBins); mi++) { @@ -155,7 +156,7 @@ void setProteusVwPassatB6() { } } strcpy(engineConfiguration->scriptCurveName[0], "MAFcurve"); - +#endif commonPassatB6(); engineConfiguration->triggerInputPins[0] = PROTEUS_VR_1;