diff --git a/firmware/config/engines/bmw_e34.cpp b/firmware/config/engines/bmw_e34.cpp index 3c3cd04943..2e245f977c 100644 --- a/firmware/config/engines/bmw_e34.cpp +++ b/firmware/config/engines/bmw_e34.cpp @@ -20,8 +20,6 @@ EXTERN_ENGINE ; void setBmwE34(DECLARE_ENGINE_PARAMETER_F) { - board_configuration_s * boardConfiguration = &engineConfiguration->bc; - // chartsize 450 engineConfiguration->engineChartSize = 450; diff --git a/firmware/config/engines/citroenBerlingoTU3JP.cpp b/firmware/config/engines/citroenBerlingoTU3JP.cpp index 6e3cd7989f..86db9034e9 100644 --- a/firmware/config/engines/citroenBerlingoTU3JP.cpp +++ b/firmware/config/engines/citroenBerlingoTU3JP.cpp @@ -70,8 +70,6 @@ static const ignition_table_t tps_advance_table = { EXTERN_ENGINE; void setCitroenBerlingoTU3JPConfiguration(DECLARE_ENGINE_PARAMETER_F) { - board_configuration_s *boardConfiguration = &engineConfiguration->bc; - engineConfiguration->engineType = CITROEN_TU3JP; /** diff --git a/firmware/config/engines/custom_engine.cpp b/firmware/config/engines/custom_engine.cpp index e86502dc3f..023c26ca9d 100644 --- a/firmware/config/engines/custom_engine.cpp +++ b/firmware/config/engines/custom_engine.cpp @@ -16,7 +16,6 @@ EXTERN_ENGINE; void setCustomEngineConfiguration(DECLARE_ENGINE_PARAMETER_F) { engineConfiguration->trigger.type = TT_ONE_PLUS_ONE; - board_configuration_s * boardConfiguration = &engineConfiguration->bc; setFrankenso_01_LCD(boardConfiguration); setFrankenso0_1_joystick(engineConfiguration); diff --git a/firmware/config/engines/dodge_neon.cpp b/firmware/config/engines/dodge_neon.cpp index a12b1c0d68..d84ccdc57b 100644 --- a/firmware/config/engines/dodge_neon.cpp +++ b/firmware/config/engines/dodge_neon.cpp @@ -93,8 +93,6 @@ static float dodge_map_advance_table[16][16] = { EXTERN_ENGINE; void setDodgeNeon1995EngineConfiguration(DECLARE_ENGINE_PARAMETER_F) { - board_configuration_s * boardConfiguration = &engineConfiguration->bc; - engineConfiguration->trigger.type = TT_DODGE_NEON_1995; engineConfiguration->algorithm = LM_ALPHA_N; @@ -187,7 +185,6 @@ void setDodgeNeon1995EngineConfiguration(DECLARE_ENGINE_PARAMETER_F) { } void setDodgeNeonNGCEngineConfiguration(DECLARE_ENGINE_PARAMETER_F) { - board_configuration_s * boardConfiguration = &engineConfiguration->bc; engineConfiguration->trigger.type = TT_DODGE_NEON_2003; setFrankenso_01_LCD(boardConfiguration); setFrankenso0_1_joystick(engineConfiguration); diff --git a/firmware/config/engines/dodge_ram.cpp b/firmware/config/engines/dodge_ram.cpp index f3c6c26e4b..10a410b222 100644 --- a/firmware/config/engines/dodge_ram.cpp +++ b/firmware/config/engines/dodge_ram.cpp @@ -17,7 +17,6 @@ EXTERN_ENGINE void setDodgeRam1996(DECLARE_ENGINE_PARAMETER_F) { setCustomEngineConfiguration(PASS_ENGINE_PARAMETER_F); - board_configuration_s * boardConfiguration = &engineConfiguration->bc; setOperationMode(engineConfiguration, FOUR_STROKE_CAM_SENSOR); engineConfiguration->trigger.type = TT_DODGE_RAM; diff --git a/firmware/config/engines/ford_1995_inline_6.cpp b/firmware/config/engines/ford_1995_inline_6.cpp index 4416dda7b3..c07e198599 100644 --- a/firmware/config/engines/ford_1995_inline_6.cpp +++ b/firmware/config/engines/ford_1995_inline_6.cpp @@ -26,7 +26,6 @@ EXTERN_ENGINE; * @brief Default values for persistent properties */ void setFordInline6(DECLARE_ENGINE_PARAMETER_F) { - board_configuration_s *boardConfiguration = &engineConfiguration->bc; engineConfiguration->specs.cylindersCount = 6; setOperationMode(engineConfiguration, FOUR_STROKE_CAM_SENSOR); diff --git a/firmware/config/engines/ford_aspire.cpp b/firmware/config/engines/ford_aspire.cpp index 17deb42f22..91812b6786 100644 --- a/firmware/config/engines/ford_aspire.cpp +++ b/firmware/config/engines/ford_aspire.cpp @@ -79,7 +79,6 @@ static void setDefaultAspireMaps(DECLARE_ENGINE_PARAMETER_F) { } void setFordAspireEngineConfiguration(DECLARE_ENGINE_PARAMETER_F) { - board_configuration_s * boardConfiguration = &engineConfiguration->bc; engineConfiguration->tpsMin = 100; engineConfiguration->tpsMax = 750; diff --git a/firmware/config/engines/rover_v8.cpp b/firmware/config/engines/rover_v8.cpp index 781d51f92d..5a4555d30c 100644 --- a/firmware/config/engines/rover_v8.cpp +++ b/firmware/config/engines/rover_v8.cpp @@ -28,8 +28,6 @@ void setFrankenstein_01_LCD(board_configuration_s *boardConfiguration) { EXTERN_ENGINE; void setRoverv8(DECLARE_ENGINE_PARAMETER_F) { - board_configuration_s *boardConfiguration = &engineConfiguration->bc; - setOperationMode(engineConfiguration, FOUR_STROKE_CRANK_SENSOR); engineConfiguration->trigger.type = TT_TOOTHED_WHEEL_36_1; diff --git a/firmware/config/engines/sachs.cpp b/firmware/config/engines/sachs.cpp index e2aae4e087..9296dee8dc 100644 --- a/firmware/config/engines/sachs.cpp +++ b/firmware/config/engines/sachs.cpp @@ -15,7 +15,6 @@ EXTERN_ENGINE; void setSachs(DECLARE_ENGINE_PARAMETER_F) { - board_configuration_s * boardConfiguration = &engineConfiguration->bc; engineConfiguration->specs.displacement = 0.1; // 100cc engineConfiguration->specs.cylindersCount = 1; engineConfiguration->engineCycle = 360;