diff --git a/firmware/controllers/algo/engine_configuration.cpp b/firmware/controllers/algo/engine_configuration.cpp index 356a186e7a..3ad6a4544b 100644 --- a/firmware/controllers/algo/engine_configuration.cpp +++ b/firmware/controllers/algo/engine_configuration.cpp @@ -556,7 +556,7 @@ static void setCanDefaults(DECLARE_ENGINE_PARAMETER_SIGNATURE) { engineConfiguration->canNbcType = CAN_BUS_MAZDA_RX8; } -void setTargetRpmCurve(int rpm PASS_ENGINE_PARAMETER_SUFFIX) { +void setTargetRpmCurve(int rpm DECLARE_ENGINE_PARAMETER_SIGNATURE) { setTableBin2(engineConfiguration->cltIdleRpmBins, DWELL_CURVE_SIZE, -40, 90, 0); setTableBin2(engineConfiguration->cltIdleRpm, DWELL_CURVE_SIZE, rpm, rpm, 0); } diff --git a/firmware/controllers/algo/engine_configuration.h b/firmware/controllers/algo/engine_configuration.h index b3aa06a807..b96034d0c4 100644 --- a/firmware/controllers/algo/engine_configuration.h +++ b/firmware/controllers/algo/engine_configuration.h @@ -48,7 +48,7 @@ typedef struct { void prepareVoidConfiguration(engine_configuration_s *activeConfiguration); void setDefaultConfiguration(DECLARE_ENGINE_PARAMETER_SIGNATURE); -void setTargetRpmCurve(int rpm PASS_ENGINE_PARAMETER_SUFFIX); +void setTargetRpmCurve(int rpm DECLARE_ENGINE_PARAMETER_SIGNATURE); void setAfrMap(afr_table_t table, float value); void setMap(fuel_table_t table, float value); void setWholeFuelMap(float value DECLARE_ENGINE_PARAMETER_SUFFIX);