From 611beeb32dc6fe9b011614dd7d9b4737ddfbe738 Mon Sep 17 00:00:00 2001 From: rusefi Date: Fri, 31 Jul 2020 14:20:50 -0400 Subject: [PATCH] NA6 progress --- firmware/config/engines/mazda_miata_1_6.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/firmware/config/engines/mazda_miata_1_6.cpp b/firmware/config/engines/mazda_miata_1_6.cpp index 4e1ddb9609..67b9a75634 100644 --- a/firmware/config/engines/mazda_miata_1_6.cpp +++ b/firmware/config/engines/mazda_miata_1_6.cpp @@ -55,8 +55,8 @@ static const float hardCodediacCoasting[16] = {-40.0, -30.0, -20.0, -10.0, 0.0, /* Generated by TS2C on Fri Jul 31 14:02:18 EDT 2020*/ static void setIacCoastingBins(DECLARE_CONFIG_PARAMETER_SIGNATURE) { - MEMCPY(config->iacCoastingBins, hardCodediacCoastingBins); - MEMCPY(config->iacCoasting, hardCodediacCoasting); + MEMCPY(engineConfiguration->iacCoastingBins, hardCodediacCoastingBins); + MEMCPY(engineConfiguration->iacCoasting, hardCodediacCoasting); } static const float hardCodedcltIdleCorrBins[16] = {-40.0, -30.0, -20.0, -10.0, 0.0, 9.439941, 19.120117, 30.810059, 42.509766, 54.529785, 64.21973, 71.90039, 80.0, 90.0, 100.0, 110.0}; @@ -75,8 +75,8 @@ static const float hardCodedcltIdleRpm[16] = {-40.0, -30.0, -20.0, 0.0, 10.0, 20 /* Generated by TS2C on Fri Jul 31 14:02:18 EDT 2020*/ static void setCltIdleRpmBins(DECLARE_CONFIG_PARAMETER_SIGNATURE) { - MEMCPY(config->cltIdleRpmBins, hardCodedcltIdleRpmBins); - MEMCPY(config->cltIdleRpm, hardCodedcltIdleRpm); + MEMCPY(engineConfiguration->cltIdleRpmBins, hardCodedcltIdleRpmBins); + MEMCPY(engineConfiguration->cltIdleRpm, hardCodedcltIdleRpm); }