auto-sync

This commit is contained in:
rusEfi 2016-10-28 22:03:00 -04:00
parent a36a2c09ad
commit 2becccc815
4 changed files with 13 additions and 2 deletions

View File

@ -37,7 +37,9 @@ static void setHondaAccordConfigurationCommon(DECLARE_ENGINE_PARAMETER_F) {
engineConfiguration->map.sensor.type = MT_DENSO183;
boardConfiguration->isFastAdcEnabled = true;
// set_ignition_mode 0
engineConfiguration->ignitionMode = IM_ONE_COIL;
// set_injection_mode
engineConfiguration->injectionMode = IM_BATCH;
engineConfiguration->idleMode = IM_MANUAL;

View File

@ -400,7 +400,9 @@ void setDefaultConfiguration(DECLARE_ENGINE_PARAMETER_F) {
setTableValue(config->cltFuelCorrBins, config->cltFuelCorr, CLT_CURVE_SIZE, 70, 101);
setConstantDwell(4 PASS_ENGINE_PARAMETER); // 4ms is global default dwell
// disable constant_dwell
engineConfiguration->useConstantDwellDuringCranking = false;
engineConfiguration->ignitionDwellForCrankingMs = 6;
setFuelLoadBin(1.2, 4.4 PASS_ENGINE_PARAMETER);
setFuelRpmBin(800, 7000 PASS_ENGINE_PARAMETER);

View File

@ -990,6 +990,8 @@ static void setValue(const char *paramStr, const char *valueStr) {
engineConfiguration->suckedOffCoef = valueF;
} else if (strEqualCaseInsensitive(paramStr, "addedToWallCoef")) {
engineConfiguration->addedToWallCoef = valueF;
} else if (strEqualCaseInsensitive(paramStr, "cranking_dwell")) {
engineConfiguration->ignitionDwellForCrankingMs = valueF;
} else if (strEqualCaseInsensitive(paramStr, "targetvbatt")) {
engineConfiguration->targetVBatt = valueF;
#if EFI_RTC || defined(__DOXYGEN__)

View File

@ -249,10 +249,15 @@ void configureHondaAccordShifter(TriggerShape *s) {
float sb = S24;
s->addEvent(S24 + 0.001, T_PRIMARY, TV_RISE);
// like this there is no issue
// s->addEvent(S24 + 0.001, T_PRIMARY, TV_RISE);
// s->addEvent(S24 + 0.1, T_SECONDARY, TV_RISE);
s->addEvent(S24 + 0.001, T_SECONDARY, TV_RISE);
s->addEvent(S24 + 0.1, T_PRIMARY, TV_RISE);
s->addEvent(S24 + 0.1, T_SECONDARY, TV_RISE);
sb += S24;
s->addEvent(sb, T_SECONDARY, TV_FALL);
sb += S24;