From 26dc3303bd74228ba97dfc8522f0b4aa47ec4278 Mon Sep 17 00:00:00 2001 From: rusefi Date: Sat, 25 Sep 2021 19:06:24 -0400 Subject: [PATCH] hellen and else are confused about pins they do not know about --- firmware/controllers/algo/engine_configuration.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/firmware/controllers/algo/engine_configuration.cpp b/firmware/controllers/algo/engine_configuration.cpp index 5f21c1e1df..31f35abf9e 100644 --- a/firmware/controllers/algo/engine_configuration.cpp +++ b/firmware/controllers/algo/engine_configuration.cpp @@ -346,7 +346,7 @@ static void setDefaultIdleSpeedTarget(DECLARE_ENGINE_PARAMETER_SIGNATURE) { setCurveValue(engineConfiguration->cltIdleRpmBins, engineConfiguration->cltIdleRpm, CLT_CURVE_SIZE, 110, 1100); } -static void setDefaultStepperIdleParameters(DECLARE_ENGINE_PARAMETER_SIGNATURE) { +static void setDefaultFrankensoStepperIdleParameters(DECLARE_ENGINE_PARAMETER_SIGNATURE) { engineConfiguration->idle.stepperDirectionPin = GPIOE_10; engineConfiguration->idle.stepperStepPin = GPIOE_12; engineConfiguration->stepperEnablePin = GPIOE_14; @@ -595,8 +595,6 @@ static void setDefaultEngineConfiguration(DECLARE_ENGINE_PARAMETER_SIGNATURE) { engineConfiguration->useStepperIdle = false; - setDefaultStepperIdleParameters(PASS_ENGINE_PARAMETER_SIGNATURE); - setDefaultGppwmParameters(PASS_ENGINE_PARAMETER_SIGNATURE); #if !EFI_UNIT_TEST @@ -724,7 +722,7 @@ static void setDefaultEngineConfiguration(DECLARE_ENGINE_PARAMETER_SIGNATURE) { * @brief Hardware board-specific default configuration (GPIO pins, ADC channels, SPI configs etc.) */ void setDefaultFrankensoConfiguration(DECLARE_CONFIG_PARAMETER_SIGNATURE) { - + setDefaultStepperIdleParameters(PASS_ENGINE_PARAMETER_SIGNATURE); setCanFrankensoDefaults(PASS_CONFIG_PARAMETER_SIGNATURE); engineConfiguration->map.sensor.hwChannel = EFI_ADC_4;