auto-sync

This commit is contained in:
rusEfi 2015-08-24 00:01:47 -04:00
parent 31decb58b3
commit 83ab5dbccc
2 changed files with 2 additions and 2 deletions

View File

@ -41,7 +41,7 @@ WallFuel::WallFuel() {
floatms_t WallFuel::adjust(int injectorIndex, floatms_t target DECLARE_ENGINE_PARAMETER_S) {
float addedToWallCoef = engineConfiguration->addedToWallCoef;
floatms_t suckedOffWallsAmount = wallFuel[injectorIndex] * engineConfiguration->suckedOffCoef;
floatms_t suckedOffWallsAmount = 0;//wallFuel[injectorIndex] * engineConfiguration->suckedOffCoef;
floatms_t result = (target - suckedOffWallsAmount) / (1 - addedToWallCoef);

View File

@ -109,7 +109,7 @@ static ALWAYS_INLINE void handleFuelInjectionEvent(InjectionEvent *event, int rp
* wetting coefficient works the same way for any injection mode, or is something
* x2 or /2?
*/
floatms_t injectionDuration = ENGINE(fuelMs);//wallFuel.adjust(event->injectorIndex, ENGINE(fuelMs));
floatms_t injectionDuration = wallFuel.adjust(event->injectorIndex, ENGINE(fuelMs) PASS_ENGINE_PARAMETER);
ENGINE(actualLastInjection) = injectionDuration;
if (cisnan(injectionDuration)) {