From d1afb9b1831da31ab69c1528660ed142756441da Mon Sep 17 00:00:00 2001 From: rusefi Date: Sun, 3 Nov 2019 21:29:12 -0500 Subject: [PATCH] moving setDefaultFrankensoConfiguration down is the way of righteousness --- firmware/config/engines/test_engine.cpp | 1 + firmware/controllers/algo/engine_configuration.cpp | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/firmware/config/engines/test_engine.cpp b/firmware/config/engines/test_engine.cpp index 98cbd9d3ef..0062d9e438 100644 --- a/firmware/config/engines/test_engine.cpp +++ b/firmware/config/engines/test_engine.cpp @@ -18,6 +18,7 @@ EXTERN_CONFIG; void setTestEngineConfiguration(DECLARE_CONFIG_PARAMETER_SIGNATURE) { + setDefaultFrankensoConfiguration(PASS_CONFIG_PARAMETER_SIGNATURE); setOperationMode(engineConfiguration, FOUR_STROKE_CAM_SENSOR); engineConfiguration->trigger.type = TT_ONE_PLUS_ONE; diff --git a/firmware/controllers/algo/engine_configuration.cpp b/firmware/controllers/algo/engine_configuration.cpp index 2694399b07..a8cb6977c1 100644 --- a/firmware/controllers/algo/engine_configuration.cpp +++ b/firmware/controllers/algo/engine_configuration.cpp @@ -1048,7 +1048,6 @@ void resetConfigurationExt(Logging * logger, configuration_callback_t boardCallb case DEFAULT_FRANKENSO: case GEO_STORM: case FRANKENSO_QA_ENGINE: - setDefaultFrankensoConfiguration(PASS_CONFIG_PARAMETER_SIGNATURE); setFrankensoConfiguration(PASS_CONFIG_PARAMETER_SIGNATURE); break; case MRE_MIATA_NA6: @@ -1206,7 +1205,6 @@ void resetConfigurationExt(Logging * logger, configuration_callback_t boardCallb #endif case TEST_ENGINE: - setDefaultFrankensoConfiguration(PASS_CONFIG_PARAMETER_SIGNATURE); setTestEngineConfiguration(PASS_CONFIG_PARAMETER_SIGNATURE); break; case MAZDA_MIATA_2003: