auto-sync
This commit is contained in:
parent
31decb58b3
commit
83ab5dbccc
|
@ -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);
|
||||
|
||||
|
|
|
@ -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)) {
|
||||
|
|
Loading…
Reference in New Issue