From b541167fcd9d0393d8224e1203fc4e14467ba73f Mon Sep 17 00:00:00 2001 From: rusefi Date: Sun, 4 Aug 2024 13:26:48 -0400 Subject: [PATCH] Knock inputs to be bore diameter and checkbox #6767 only: killing legacy field --- firmware/config/boards/subaru_eg33/board_configuration.cpp | 1 - firmware/config/engines/mazda/mazda_miata_1_6.cpp | 1 - firmware/config/engines/mazda/mazda_miata_na8.cpp | 1 - firmware/config/engines/mazda/mazda_miata_vvt.cpp | 3 --- 4 files changed, 6 deletions(-) diff --git a/firmware/config/boards/subaru_eg33/board_configuration.cpp b/firmware/config/boards/subaru_eg33/board_configuration.cpp index fc8b3837c2..96d6d1a00d 100644 --- a/firmware/config/boards/subaru_eg33/board_configuration.cpp +++ b/firmware/config/boards/subaru_eg33/board_configuration.cpp @@ -197,7 +197,6 @@ void setBoardDefaultConfiguration() { /* Chip settings */ engineConfiguration->hip9011PrescalerAndSDO = (0x6 << 1); //HIP_16MHZ_PRESCALER; engineConfiguration->hip9011Gain = 1.0; - engineConfiguration->knockBandCustom = 0.0; engineConfiguration->cylinderBore = 96.9; /* Cylinder to knock bank mapping */ diff --git a/firmware/config/engines/mazda/mazda_miata_1_6.cpp b/firmware/config/engines/mazda/mazda_miata_1_6.cpp index 3cbf1e3b26..b01710a42b 100644 --- a/firmware/config/engines/mazda/mazda_miata_1_6.cpp +++ b/firmware/config/engines/mazda/mazda_miata_1_6.cpp @@ -102,7 +102,6 @@ void miataNAcommonEngineSettings() { engineConfiguration->compressionRatio = 9.1; engineConfiguration->cranking.rpm = 400; engineConfiguration->cylinderBore = 78; - engineConfiguration->knockBandCustom = 6.8; engineConfiguration->vehicleWeight = 950; // engineConfiguration->totalGearsCount = 5; diff --git a/firmware/config/engines/mazda/mazda_miata_na8.cpp b/firmware/config/engines/mazda/mazda_miata_na8.cpp index d136f48bfd..e291ceb01d 100644 --- a/firmware/config/engines/mazda/mazda_miata_na8.cpp +++ b/firmware/config/engines/mazda/mazda_miata_na8.cpp @@ -22,7 +22,6 @@ void setMazdaMiata96() { */ engineConfiguration->injector.flow = 265; engineConfiguration->cylinderBore = 83; - engineConfiguration->knockBandCustom = 13.81; engineConfiguration->idleMode = IM_AUTO; // below 20% this valve seems to be opening for fail-safe idle air diff --git a/firmware/config/engines/mazda/mazda_miata_vvt.cpp b/firmware/config/engines/mazda/mazda_miata_vvt.cpp index 6da37f1a1f..325e458602 100644 --- a/firmware/config/engines/mazda/mazda_miata_vvt.cpp +++ b/firmware/config/engines/mazda/mazda_miata_vvt.cpp @@ -332,9 +332,6 @@ static void setCommonMazdaNB() { // MAF (todo: do we use this?) setMAFTransferFunction(); - // second harmonic (aka double) is usually quieter background noise - engineConfiguration->knockBandCustom = 13.8; - engineConfiguration->wwaeTau = 0.1; miataNA_setCltIdleCorrBins();