diff --git a/firmware/controllers/algo/rusefi_generated.h b/firmware/controllers/algo/rusefi_generated.h index ead337464c..0a109e7ec7 100644 --- a/firmware/controllers/algo/rusefi_generated.h +++ b/firmware/controllers/algo/rusefi_generated.h @@ -72,6 +72,8 @@ #define map_sensor_hwChannel_offset 252 #define clt_offset 256 #define clt_offset_hex 100 +#define clt_config_offset 256 +#define clt_config_offset_hex 100 #define clt_tempC_1_offset 256 #define clt_tempC_1_offset_hex 100 #define clt_tempC_2_offset 260 @@ -92,6 +94,8 @@ #define clt_s_h_c_offset_hex 124 #define iat_offset 296 #define iat_offset_hex 128 +#define iat_config_offset 296 +#define iat_config_offset_hex 128 #define iat_tempC_1_offset 296 #define iat_tempC_1_offset_hex 128 #define iat_tempC_2_offset 300 diff --git a/firmware/integration/rusefi_config.txt b/firmware/integration/rusefi_config.txt index 39f2c1cdda..5295821718 100644 --- a/firmware/integration/rusefi_config.txt +++ b/firmware/integration/rusefi_config.txt @@ -100,7 +100,8 @@ float[MAP_WINDOW_SIZE] samplingWindow;@brief MAP averaging angle duration, by RP air_pressure_sensor_config_s sensor end_struct -struct ThermistorConf @brief Thermistor curve parameters + +struct_no_prefix thermistor_conf_s @brief Thermistor curve parameters float tempC_1;these values are in Celcuus;"*C", 1, 0, -40, 200, 1 float tempC_2;;"*C", 1, 0, -40, 200, 1 float tempC_3;;"*C", 1, 0, -40, 200, 1 @@ -109,6 +110,10 @@ float resistance_2;;"Ohm", 1, 0, 0, 200000, 1 float resistance_3;;"Ohm", 1, 0, 0, 200000, 1 float bias_resistor;;"Ohm", 1, 0, 0, 200000, 1 +end_struct + +struct ThermistorConf @brief Thermistor curve parameters + thermistor_conf_s config; float s_h_a; float s_h_b; diff --git a/firmware/tunerstudio/rusefi.ini b/firmware/tunerstudio/rusefi.ini index b24dc0247a..13a74c3e82 100644 --- a/firmware/tunerstudio/rusefi.ini +++ b/firmware/tunerstudio/rusefi.ini @@ -40,7 +40,7 @@ enable2ndByteCanID = false ; see PAGE_0_SIZE in C source code ; CONFIG_DEFINITION_START -; this section was generated by ConfigDefinition.jar on Thu May 21 19:13:38 EDT 2015 +; this section was generated by ConfigDefinition.jar on Fri May 22 06:40:33 EDT 2015 pageSize = 15288 page = 1