auto-sync

This commit is contained in:
rusEfi 2015-04-29 23:04:37 -04:00
parent d745278ca3
commit 26cbb9e09c
2 changed files with 2 additions and 6 deletions

View File

@ -86,15 +86,10 @@ float getSpeedDensityFuel(int rpm DECLARE_ENGINE_PARAMETER_S) {
*/
float tChargeK = ENGINE(engineState.tChargeK);
float map = getMap();
/**
* *0.01 because of https://sourceforge.net/p/rusefi/tickets/153/
*/
float VE = veMap.getValue(map, rpm) * 0.01;
float AFR = afrMap.getValue(map, rpm);
float adjMap = map + engine->mapAccelEnrichment.getMapEnrichment(PASS_ENGINE_PARAMETER_F);
return sdMath(engineConfiguration, VE, adjMap, AFR, tChargeK) * 1000;
return sdMath(engineConfiguration, ENGINE(engineState.currentVE), adjMap, ENGINE(engineState.targerAFR), tChargeK) * 1000;
}
void setDefaultVETable(DECLARE_ENGINE_PARAMETER_F) {

View File

@ -292,6 +292,7 @@ void triggerInfo(Engine *engine) {
scheduleMsg(logger, "secondary logic input: %s", hwPortname(boardConfiguration->logicAnalyzerPins[1]));
scheduleMsg(logger, "zeroTestTime=%d maxHowFarOff=%d", engine->m.zeroTestTime, maxHowFarOff);
maxHowFarOff = 0;
scheduleMsg(logger, "advanceLookupTime=%d", engine->m.advanceTime);