From c87ebc2a7b0e6fbf18c69cff3cbb0955a4446001 Mon Sep 17 00:00:00 2001 From: rusefi Date: Wed, 6 Dec 2017 18:46:31 -0500 Subject: [PATCH] #512 --- .../algo/engine_configuration_generated_structures.h | 6 +++--- firmware/controllers/algo/rusefi_generated.h | 5 +++-- firmware/integration/rusefi_config.txt | 4 +++- firmware/tunerstudio/rusefi.ini | 4 ++-- 4 files changed, 11 insertions(+), 8 deletions(-) diff --git a/firmware/controllers/algo/engine_configuration_generated_structures.h b/firmware/controllers/algo/engine_configuration_generated_structures.h index 43f92e06b1..6baef44590 100644 --- a/firmware/controllers/algo/engine_configuration_generated_structures.h +++ b/firmware/controllers/algo/engine_configuration_generated_structures.h @@ -1,4 +1,4 @@ -// this section was generated automatically by ConfigDefinition.jar based on rusefi_config.txt Sun Dec 03 18:27:46 EST 2017 +// this section was generated automatically by ConfigDefinition.jar based on rusefi_config.txt Wed Dec 06 18:45:34 EST 2017 // begin #ifndef ENGINE_CONFIGURATION_GENERATED_H_ #define ENGINE_CONFIGURATION_GENERATED_H_ @@ -1311,7 +1311,7 @@ typedef struct { bool isMapAveragingEnabled : 1; /** offset 1484 bit 6 */ - bool anotherUnusedBit1 : 1; + bool overrideCrankingIacSetting : 1; /** offset 1484 bit 7 */ bool anotherUnusedBit2 : 1; @@ -2203,4 +2203,4 @@ typedef struct { #endif // end -// this section was generated automatically by ConfigDefinition.jar based on rusefi_config.txt Sun Dec 03 18:27:46 EST 2017 +// this section was generated automatically by ConfigDefinition.jar based on rusefi_config.txt Wed Dec 06 18:45:34 EST 2017 diff --git a/firmware/controllers/algo/rusefi_generated.h b/firmware/controllers/algo/rusefi_generated.h index c845aaa804..029c9d7620 100644 --- a/firmware/controllers/algo/rusefi_generated.h +++ b/firmware/controllers/algo/rusefi_generated.h @@ -23,6 +23,7 @@ #define MAP_WINDOW_SIZE 8 #define NARROW_BAND_WIDE_BAND_CONVERSION_SIZE 8 #define CLT_CURVE_SIZE 16 +#define CRANKING_CLT_IDLE_CURVE_SIZE 8 #define ENGINE_NOISE_CURVE_SIZE 8 #define CLT_TIMING_CURVE_SIZE 8 #define AUX_DIGITAL_VALVE_COUNT 2 @@ -892,8 +893,8 @@ #define needSecondTriggerInputDeprecated_offset_hex 5cc #define isMapAveragingEnabled_offset 1484 #define isMapAveragingEnabled_offset_hex 5cc -#define anotherUnusedBit1_offset 1484 -#define anotherUnusedBit1_offset_hex 5cc +#define overrideCrankingIacSetting_offset 1484 +#define overrideCrankingIacSetting_offset_hex 5cc #define anotherUnusedBit2_offset 1484 #define anotherUnusedBit2_offset_hex 5cc #define isTunerStudioEnabled_offset 1484 diff --git a/firmware/integration/rusefi_config.txt b/firmware/integration/rusefi_config.txt index 7589a33c9a..7c15b543a2 100644 --- a/firmware/integration/rusefi_config.txt +++ b/firmware/integration/rusefi_config.txt @@ -67,6 +67,8 @@ struct_no_prefix engine_configuration_s #define NARROW_BAND_WIDE_BAND_CONVERSION_SIZE 8 #define CLT_CURVE_SIZE 16 +#define CRANKING_CLT_IDLE_CURVE_SIZE 8 + #define ENGINE_NOISE_CURVE_SIZE 8 #define CLT_TIMING_CURVE_SIZE 8 @@ -647,7 +649,7 @@ custom idle_mode_e 4 bits, U32, @OFFSET@, [0:0], "false", "true" bit secondTriggerChannelEnabled bit needSecondTriggerInputDeprecated bit isMapAveragingEnabled - bit anotherUnusedBit1 + bit overrideCrankingIacSetting bit anotherUnusedBit2 bit isTunerStudioEnabled bit isWaveAnalyzerEnabled diff --git a/firmware/tunerstudio/rusefi.ini b/firmware/tunerstudio/rusefi.ini index 4d6b794ab4..dad3854520 100644 --- a/firmware/tunerstudio/rusefi.ini +++ b/firmware/tunerstudio/rusefi.ini @@ -63,7 +63,7 @@ enable2ndByteCanID = false ; see PAGE_0_SIZE in C source code ; CONFIG_DEFINITION_START -; this section was generated automatically by ConfigDefinition.jar based on rusefi_config.txt Sun Dec 03 07:45:31 EST 2017 +; this section was generated automatically by ConfigDefinition.jar based on rusefi_config.txt Wed Dec 06 18:45:34 EST 2017 pageSize = 20000 page = 1 @@ -467,7 +467,7 @@ page = 1 secondTriggerChannelEnabled= bits, U32, 1484, [3:3], "false", "true" needSecondTriggerInputDeprecated= bits, U32, 1484, [4:4], "false", "true" isMapAveragingEnabled = bits, U32, 1484, [5:5], "false", "true" - anotherUnusedBit1 = bits, U32, 1484, [6:6], "false", "true" + overrideCrankingIacSetting= bits, U32, 1484, [6:6], "false", "true" anotherUnusedBit2 = bits, U32, 1484, [7:7], "false", "true" isTunerStudioEnabled = bits, U32, 1484, [8:8], "false", "true" isWaveAnalyzerEnabled = bits, U32, 1484, [9:9], "false", "true"