auto-sync
This commit is contained in:
parent
6d77844e19
commit
6c1071c9c9
|
@ -420,6 +420,13 @@ void setDefaultConfiguration(DECLARE_ENGINE_PARAMETER_F) {
|
||||||
engineConfiguration->cutFuelOnHardLimit = true;
|
engineConfiguration->cutFuelOnHardLimit = true;
|
||||||
engineConfiguration->cutSparkOnHardLimit = true;
|
engineConfiguration->cutSparkOnHardLimit = true;
|
||||||
|
|
||||||
|
|
||||||
|
engineConfiguration->tChargeMinRpmMinTps = 0.25;
|
||||||
|
engineConfiguration->tChargeMinRpmMaxTps = 0.25;
|
||||||
|
engineConfiguration->tChargeMaxRpmMinTps = 0.25;
|
||||||
|
engineConfiguration->tChargeMaxRpmMaxTps = 0.9;
|
||||||
|
|
||||||
|
|
||||||
engineConfiguration->noAccelAfterHardLimitPeriodSecs = 3;
|
engineConfiguration->noAccelAfterHardLimitPeriodSecs = 3;
|
||||||
|
|
||||||
setTableBin2(engineConfiguration->crankingTpsCoef, CRANKING_CURVE_SIZE, 1, 1, 1);
|
setTableBin2(engineConfiguration->crankingTpsCoef, CRANKING_CURVE_SIZE, 1, 1, 1);
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// this section was generated automatically by ConfigDefinition.jar based on rusefi_config.txt Thu Jun 30 21:51:57 EDT 2016
|
// this section was generated automatically by ConfigDefinition.jar based on rusefi_config.txt Fri Jul 01 09:36:16 EDT 2016
|
||||||
// begin
|
// begin
|
||||||
#ifndef ENGINE_CONFIGURATION_GENERATED_H_
|
#ifndef ENGINE_CONFIGURATION_GENERATED_H_
|
||||||
#define ENGINE_CONFIGURATION_GENERATED_H_
|
#define ENGINE_CONFIGURATION_GENERATED_H_
|
||||||
|
@ -1643,7 +1643,23 @@ typedef struct {
|
||||||
/**
|
/**
|
||||||
* offset 2432
|
* offset 2432
|
||||||
*/
|
*/
|
||||||
int unused[154];
|
float tChargeMinRpmMinTps;
|
||||||
|
/**
|
||||||
|
* offset 2436
|
||||||
|
*/
|
||||||
|
float tChargeMinRpmMaxTps;
|
||||||
|
/**
|
||||||
|
* offset 2440
|
||||||
|
*/
|
||||||
|
float tChargeMaxRpmMinTps;
|
||||||
|
/**
|
||||||
|
* offset 2444
|
||||||
|
*/
|
||||||
|
float tChargeMaxRpmMaxTps;
|
||||||
|
/**
|
||||||
|
* offset 2448
|
||||||
|
*/
|
||||||
|
int unused[150];
|
||||||
/** total size 3048*/
|
/** total size 3048*/
|
||||||
} engine_configuration_s;
|
} engine_configuration_s;
|
||||||
|
|
||||||
|
@ -1832,4 +1848,4 @@ typedef struct {
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
// end
|
// end
|
||||||
// this section was generated automatically by ConfigDefinition.jar based on rusefi_config.txt Thu Jun 30 21:51:57 EDT 2016
|
// this section was generated automatically by ConfigDefinition.jar based on rusefi_config.txt Fri Jul 01 09:36:16 EDT 2016
|
||||||
|
|
|
@ -700,7 +700,11 @@ float[MAP_ACCEL_TAPER] mapAccelTaperMult;;"mult", 1, 0, 0.0, 300,
|
||||||
int auxPid1DT;Aux Pid #1 dTime;"ms", 1, 0, 0, 3000, 0
|
int auxPid1DT;Aux Pid #1 dTime;"ms", 1, 0, 0, 3000, 0
|
||||||
pid_s auxPid1;
|
pid_s auxPid1;
|
||||||
float crankingIdleAdjustment;Extra idle while cranking;"percent", 1, 0, -100.0, 100,
|
float crankingIdleAdjustment;Extra idle while cranking;"percent", 1, 0, -100.0, 100,
|
||||||
int[154] unused;
|
float tChargeMinRpmMinTps;
|
||||||
|
float tChargeMinRpmMaxTps;
|
||||||
|
float tChargeMaxRpmMinTps;
|
||||||
|
float tChargeMaxRpmMaxTps;
|
||||||
|
int[150] unused;
|
||||||
|
|
||||||
|
|
||||||
end_struct
|
end_struct
|
||||||
|
|
|
@ -20,6 +20,9 @@ void testIgnitionPlanning(void) {
|
||||||
EngineTestHelper eth(FORD_ESCORT_GT);
|
EngineTestHelper eth(FORD_ESCORT_GT);
|
||||||
EXPAND_EngineTestHelper;
|
EXPAND_EngineTestHelper;
|
||||||
|
|
||||||
|
eth.engine.periodicFastCallback(PASS_ENGINE_PARAMETER_F);
|
||||||
|
assertEquals(13.5, eth.engine.engineState.targetAFR);
|
||||||
|
|
||||||
assertEquals(IM_BATCH, engineConfiguration->injectionMode);
|
assertEquals(IM_BATCH, engineConfiguration->injectionMode);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue