diff --git a/firmware/controllers/algo/engine.cpp b/firmware/controllers/algo/engine.cpp index 11371ea567..1e7ea23b9c 100644 --- a/firmware/controllers/algo/engine.cpp +++ b/firmware/controllers/algo/engine.cpp @@ -249,7 +249,6 @@ void Engine::periodicFastCallback(DECLARE_ENGINE_PARAMETER_F) { engine->engineState.currentVE = engine->engineState.baroCorrection * veMap.getValue(map, rpm) * 0.01; engine->engineState.targerAFR = afrMap.getValue(map, rpm); } else { - float engineLoad = getEngineLoadT(PASS_ENGINE_PARAMETER_F); engine->engineState.baseTableFuel = getBaseTableFuel(engineConfiguration, rpm, engineLoad); } } diff --git a/firmware/hw_layer/hardware.cpp b/firmware/hw_layer/hardware.cpp index a52a1b236b..9a85b81ca0 100644 --- a/firmware/hw_layer/hardware.cpp +++ b/firmware/hw_layer/hardware.cpp @@ -198,8 +198,6 @@ void turnOnHardware(Logging *sharedLogger) { #endif /* EFI_SHAFT_POSITION_INPUT */ } -extern engine_configuration_s activeConfiguration; - void applyNewHardwareSettings(void) { #if EFI_SHAFT_POSITION_INPUT || defined(__DOXYGEN__) applyNewTriggerInputPins();