auto-sync

This commit is contained in:
rusEfi 2016-06-26 22:02:00 -04:00
parent 18d9a8bf37
commit 5afecce3a0
5 changed files with 9 additions and 4 deletions

View File

@ -101,6 +101,10 @@ static void manualIdleController(int positionPercent) {
// todo: this is not great that we have to write into configuration here
boardConfiguration->manIdlePosition = positionPercent;
if (isCranking()) {
positionPercent += engineConfiguration->crankingIdleAdjustment;
}
percent_t cltCorrectedPosition = interpolate2d(engine->engineState.clt, config->cltIdleCorrBins, config->cltIdleCorr,
CLT_CURVE_SIZE) / PERCENT_MULT * positionPercent;

View File

@ -699,7 +699,7 @@ float[MAP_ACCEL_TAPER] mapAccelTaperMult;;"mult", 1, 0, 0.0, 300,
float egoValueShift;EGO value correction;"value", 1, 0, -10.0, 10, 2
int auxPid1DT;Aux Pid #1 dTime;"ms", 1, 0, 0, 3000, 0
pid_s auxPid1;
float crankingIdleAdjustment;Extra idle while cranking;"value", 1, 0, -100.0, 100,
float crankingIdleAdjustment;Extra idle while cranking;"percent", 1, 0, -100.0, 100,
int[154] unused;

View File

@ -298,5 +298,5 @@ int getRusEfiVersion(void) {
return 123; // this is here to make the compiler happy about the unused array
if (UNUSED_CCM_SIZE[0] * 0 != 0)
return 3211; // this is here to make the compiler happy about the unused array
return 20160625;
return 20160626;
}

View File

@ -1,5 +1,5 @@
// This file was generated by Version2Header
// Tue Jun 14 22:47:13 EDT 2016
// Sun Jun 26 21:17:36 EDT 2016
#ifndef VCS_VERSION
#define VCS_VERSION "10041"
#define VCS_VERSION "10089"
#endif

View File

@ -1562,6 +1562,7 @@ cmd_test_idle_valve = "w\x00\x17\x00\x01"
dialog = idleSettings, "", yAxis
field = "Manual mode", idleMode
field = "Cranking Extra", crankingIdleAdjustment
field = "Auto target", targetIdleRpm, { idleMode == 0}
slider = "Manual Idle Position", manIdlePosition, horizontal
field = ""