diff --git a/firmware/controllers/algo/antilag_system_state.txt b/firmware/controllers/algo/antilag_system_state.txt index 9934f54408..7c769f58ec 100644 --- a/firmware/controllers/algo/antilag_system_state.txt +++ b/firmware/controllers/algo/antilag_system_state.txt @@ -11,4 +11,6 @@ bit isALSSwitchActivated bit ALSActivatePinState bit ALSSwitchCondition +float fuelALSCorrection + end_struct \ No newline at end of file diff --git a/firmware/controllers/algo/fuel_math.h b/firmware/controllers/algo/fuel_math.h index 9eda0d3940..472e2187fa 100644 --- a/firmware/controllers/algo/fuel_math.h +++ b/firmware/controllers/algo/fuel_math.h @@ -17,6 +17,7 @@ void initFuelMap(); float getRunningFuel(float baseFuel); float getBaroCorrection(); +float getfuelALSCorrection(int rpm, float engineLoad); int getNumberOfInjections(injection_mode_e mode); angle_t getInjectionOffset(float rpm, float load); float getIatFuelCorrection();