From aa8637f8f7682fc7a4ced83aa4c9de0b6fa6bc1c Mon Sep 17 00:00:00 2001 From: Matthew Kennedy Date: Tue, 28 Feb 2023 19:42:42 -0500 Subject: [PATCH] dead slowAdcAlpha (cherry picked from commit fcc3d1b1a28a6d4ec7985def9469e2eccc7bcdb3) --- firmware/config/engines/dodge_neon.cpp | 2 -- firmware/controllers/algo/engine_configuration.cpp | 1 - firmware/integration/rusefi_config.txt | 5 +++-- firmware/tunerstudio/rusefi.input | 2 -- 4 files changed, 3 insertions(+), 7 deletions(-) diff --git a/firmware/config/engines/dodge_neon.cpp b/firmware/config/engines/dodge_neon.cpp index 9dac15f3fd..fa6a73f448 100644 --- a/firmware/config/engines/dodge_neon.cpp +++ b/firmware/config/engines/dodge_neon.cpp @@ -283,7 +283,5 @@ void setDodgeNeonNGCEngineConfiguration() { engineConfiguration->isSdCardEnabled = false; engineConfiguration->manIdlePosition = 36; // set_idle_pwm 40 - engineConfiguration->slowAdcAlpha = 0.33333; - // end of setDodgeNeonNGCEngineConfiguration } diff --git a/firmware/controllers/algo/engine_configuration.cpp b/firmware/controllers/algo/engine_configuration.cpp index ff1386d1d4..e02496c1ee 100644 --- a/firmware/controllers/algo/engine_configuration.cpp +++ b/firmware/controllers/algo/engine_configuration.cpp @@ -516,7 +516,6 @@ static void setDefaultEngineConfiguration() { engineConfiguration->launchSpeedThreshold = 30; engineConfiguration->hardCutRpmRange = 500; - engineConfiguration->slowAdcAlpha = 0.33333; engineConfiguration->engineSnifferRpmThreshold = 2500; engineConfiguration->sensorSnifferRpmThreshold = 2500; diff --git a/firmware/integration/rusefi_config.txt b/firmware/integration/rusefi_config.txt index 9f3ba81e89..8f44897f05 100644 --- a/firmware/integration/rusefi_config.txt +++ b/firmware/integration/rusefi_config.txt @@ -1158,11 +1158,12 @@ int16_t tps2Max;Full throttle#2. tpsMax value as 10 bit ADC value. Not Voltage!\ custom InjectionTimingMode 1 bits, U08, @OFFSET@, [0:1], "End of injection", "Start of injection", "Center of injection" InjectionTimingMode injectionTimingMode;Sets what part of injection's is controlled by the injection phase table. + debug_mode_e debugMode;See http://rusefi.com/s/debugmode + uint8_t fan1ExtraIdle;Additional idle % when fan #1 is active;"%", 1, 0, 0, 100, 0 + uint32_t uartConsoleSerialSpeed;Band rate for primary TTL;"BPs", 1, 0, 0, 1000000, 0 float tpsDecelEnleanmentThreshold;For decel we simply multiply delta of TPS and tFor decel we do not use table?!;"roc", 1, 0, 0, 200, 1 float tpsDecelEnleanmentMultiplier;Magic multiplier, we multiply delta of TPS and get fuel squirt duration;"coeff", 1, 0, 0, 200, 2 - float slowAdcAlpha;ExpAverage alpha coefficient;"coeff", 1, 0, 0, 200, 3 - debug_mode_e debugMode;See http://rusefi.com/s/debugmode\n\nset debug_mode X uint32_t auxSerialSpeed;;"BPs", 1, 0, 0, 1000000, 0 diff --git a/firmware/tunerstudio/rusefi.input b/firmware/tunerstudio/rusefi.input index 56eab5d193..72814b2715 100644 --- a/firmware/tunerstudio/rusefi.input +++ b/firmware/tunerstudio/rusefi.input @@ -3542,8 +3542,6 @@ cmd_set_engine_type_default = "@@TS_IO_TEST_COMMAND_char@@@@ts_command_e_TS_ field = "ADC vRef voltage", adcVcc field = "Use fixed baro corr from MAP", useFixedBaroCorrFromMap field = "Analog divider ratio", analogInputDividerCoefficient@@if_ts_show_analog_divider - field = "Smoothing factor", slowAdcAlpha - ; Board->Connection