From 49230d31953d98659bd20e8bdd8f49f6d916f5b8 Mon Sep 17 00:00:00 2001 From: Andrey Date: Fri, 5 May 2023 14:15:27 -0400 Subject: [PATCH] it's going to be painful --- firmware/controllers/algo/fuel_math.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/firmware/controllers/algo/fuel_math.cpp b/firmware/controllers/algo/fuel_math.cpp index 5588ebd620..7f71731cfc 100644 --- a/firmware/controllers/algo/fuel_math.cpp +++ b/firmware/controllers/algo/fuel_math.cpp @@ -129,6 +129,8 @@ float getRunningFuel(float baseFuel) { correction *= engine->launchController.getFuelCoefficient(); #endif + correction *= getLimpManager()->getLimitingFuelCorrection(); + float runningFuel = baseFuel * correction; efiAssert(ObdCode::CUSTOM_ERR_ASSERT, !cisnan(runningFuel), "NaN runningFuel", 0);