diff --git a/firmware/controllers/algo/engine_configuration_generated_structures.h b/firmware/controllers/algo/engine_configuration_generated_structures.h index e1bf60470e..d1bd2470dd 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 Thu Nov 22 23:13:59 EST 2018 +// this section was generated automatically by ConfigDefinition.jar based on rusefi_config.txt Thu Nov 29 23:17:02 EST 2018 // begin #ifndef ENGINE_CONFIGURATION_GENERATED_H_ #define ENGINE_CONFIGURATION_GENERATED_H_ @@ -975,11 +975,13 @@ typedef struct { /** * Closed throttle. todo: extract these two fields into a structure * todo: we need two sets of TPS parameters - modern ETBs have two sensors + * See also tpsAdcChannel * offset 80 */ int16_t tpsMin; /** * Full throtle. tpsMax value as 10 bit ADC value. Not Voltage! + * See also tpsAdcChannel * offset 82 */ int16_t tpsMax; @@ -1823,605 +1825,4 @@ typedef struct { * Fixed timing, useful for TDC testing * offset 2360 */ - float fixedTiming; - /** - * MAP voltage for low point - * offset 2364 - */ - float mapLowValueVoltage; - /** - * MAP voltage for low point - * offset 2368 - */ - float mapHighValueVoltage; - /** - * EGO value correction - * offset 2372 - */ - float egoValueShift; - /** - * offset 2376 - */ - brain_input_pin_e camInput; - /** - * IAC position during cranking - * offset 2380 - */ - int crankingIACposition; - /** - * offset 2384 - */ - float tChargeMinRpmMinTps; - /** - * offset 2388 - */ - float tChargeMinRpmMaxTps; - /** - * offset 2392 - */ - float tChargeMaxRpmMinTps; - /** - * offset 2396 - */ - float tChargeMaxRpmMaxTps; - /** - * offset 2400 - */ - brain_pin_e auxPidPins[AUX_PID_COUNT]; - /** - * offset 2416 - */ - fsio_pwm_freq_t auxPidFrequency[AUX_PID_COUNT]; - /** - * offset 2424 - */ - int alternatorPwmFrequency; - /** - * offset 2428 - */ - mass_storage_e storageMode; - /** - * offset 2432 - */ - spi_device_e cj125SpiDevice; - /** - * offset 2436 - */ - pin_output_mode_e cj125CsPinMode; - /** - * Narrow Band WBO Approximation - * offset 2440 - */ - float narrowToWideOxygenBins[NARROW_BAND_WIDE_BAND_CONVERSION_SIZE]; - /** - * offset 2472 - */ - float narrowToWideOxygen[NARROW_BAND_WIDE_BAND_CONVERSION_SIZE]; - /** - * set vvt_mode X - * offset 2504 - */ - vvt_mode_e vvtMode; - /** - * offset 2508 - */ - bi_quard_s biQuad; - /** - * CLT-based timing correction - * offset 2528 - */ - float cltTimingBins[CLT_TIMING_CURVE_SIZE]; - /** - * offset 2560 - */ - float cltTimingExtra[CLT_TIMING_CURVE_SIZE]; - /** - * offset 2592 - */ - int nbVvtIndex; - /** - * offset 2596 - */ - float autoTuneCltThreshold; - /** - * offset 2600 - */ - float autoTuneTpsRocThreshold; - /** - * offset 2604 - */ - float autoTuneTpsQuietPeriod; - /** - * offset 2608 - */ - float postCrankingTargetClt; - /** - * Fuel multiplier taper, see also postCrankingDurationSec - * offset 2612 - */ - float postCrankingFactor; - /** - * See also postCrankingFactor - * offset 2616 - */ - float postCrankingDurationSec; - /** - * todo: finish implementation #332 - * offset 2620 - */ - ThermistorConf auxTempSensor1; - /** - * todo: finish implementation #332 - * offset 2652 - */ - ThermistorConf auxTempSensor2; - /** - * offset 2684 - */ - int16_t fuelClosedLoopCltThreshold; - /** - * offset 2686 - */ - int16_t fuelClosedLoopTpsThreshold; - /** - * offset 2688 - */ - int16_t fuelClosedLoopRpmThreshold; - /** - * offset 2690 - */ - int16_t etbFreq; - /** - * offset 2692 - */ - pid_s fuelClosedLoopPid; - /** - * offset 2712 - */ - float fuelClosedLoopAfrHighThreshold; - /** - * offset 2716 - */ - pin_mode_e stepperEnablePinMode; - /** - * lambda input - * offset 2720 - */ - adc_channel_e cj125ua; - /** - * heater input - * offset 2724 - */ - adc_channel_e cj125ur; - /** - * per-cylinder timing correction - * offset 2728 - */ - cfg_float_t_1f timing_offset_cylinder[IGNITION_PIN_COUNT]; - /** - * offset 2776 - */ - pin_input_mode_e brakePedalPinMode; - /** - * offset 2780 - */ - float idlePidActivationTime; - /** - * offset 2784 - */ - spi_device_e sdCardSpiDevice; - /** - * offset 2788 - */ - pin_mode_e spi3SckMode; - /** - * offset 2792 - */ - pin_mode_e spi3MosiMode; - /** - * offset 2796 - */ - pin_mode_e spi3MisoMode; - /** - * offset 2800 - */ - pin_mode_e spi1SckMode; - /** - * offset 2804 - */ - pin_mode_e spi1MosiMode; - /** - * offset 2808 - */ - pin_mode_e spi1MisoMode; - /** - * offset 2812 - */ - brain_pin_e brakePedalPin; - /** - * offset 2816 - */ - pid_s auxPid[AUX_PID_COUNT]; - /** - * offset 2896 - */ - oil_pressure_config_s oilPressure; - /** - * offset 2916 - */ - spi_device_e accelerometerSpiDevice; - /** - * offset 2920 - */ - float fsioCurve1Bins[FSIO_CURVE_16]; - /** - * offset 2984 - */ - float fsioCurve1[FSIO_CURVE_16]; - /** - * offset 3048 - */ - float fsioCurve2Bins[FSIO_CURVE_16]; - /** - * offset 3112 - */ - float fsioCurve2[FSIO_CURVE_16]; - /** - * offset 3176 - */ - float fsioCurve3Bins[FSIO_CURVE_8]; - /** - * offset 3208 - */ - float fsioCurve3[FSIO_CURVE_8]; - /** - * offset 3240 - */ - float fsioCurve4Bins[FSIO_CURVE_8]; - /** - * offset 3272 - */ - float fsioCurve4[FSIO_CURVE_8]; - /** - * offset 3304 - */ - brain_input_pin_e flexFuelSensor; - /** - * offset 3308 - */ - brain_pin_e test557pin; - /** - * Optional timing advance table for Cranking (see useSeparateAdvanceForCranking) - * offset 3312 - */ - float crankingAdvanceBins[CRANKING_ADVANCE_CURVE_SIZE]; - /** - * Optional timing advance table for Cranking (see useSeparateAdvanceForCranking) - * offset 3328 - */ - float crankingAdvance[CRANKING_ADVANCE_CURVE_SIZE]; - /** - * todo: more comments - * offset 3344 - */ - brain_pin_e servoOutputPins[SERVO_COUNT]; - /** - * offset 3376 - */ - int16_t coastingFuelCutRpmHigh; - /** - * offset 3378 - */ - int16_t coastingFuelCutRpmLow; - /** - * percent between 0 and 100 - * offset 3380 - */ - int16_t coastingFuelCutTps; - /** - * Fuel cutoff is deactivated if CLT