Skip to content

Commit

Permalink
switching to target RPM curve
Browse files Browse the repository at this point in the history
  • Loading branch information
rusefi committed Dec 25, 2017
1 parent 612904d commit 20ef13a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion firmware/controllers/algo/engine_configuration.cpp
Expand Up @@ -556,7 +556,7 @@ static void setCanDefaults(DECLARE_ENGINE_PARAMETER_SIGNATURE) {
engineConfiguration->canNbcType = CAN_BUS_MAZDA_RX8;
}

void setTargetRpmCurve(int rpm DECLARE_ENGINE_PARAMETER_SIGNATURE) {
void setTargetRpmCurve(int rpm DECLARE_ENGINE_PARAMETER_SUFFIX) {
setTableBin2(engineConfiguration->cltIdleRpmBins, DWELL_CURVE_SIZE, -40, 90, 0);
setTableBin2(engineConfiguration->cltIdleRpm, DWELL_CURVE_SIZE, rpm, rpm, 0);
}
Expand Down
2 changes: 1 addition & 1 deletion firmware/controllers/algo/engine_configuration.h
Expand Up @@ -48,7 +48,7 @@ typedef struct {

void prepareVoidConfiguration(engine_configuration_s *activeConfiguration);
void setDefaultConfiguration(DECLARE_ENGINE_PARAMETER_SIGNATURE);
void setTargetRpmCurve(int rpm DECLARE_ENGINE_PARAMETER_SIGNATURE);
void setTargetRpmCurve(int rpm DECLARE_ENGINE_PARAMETER_SUFFIX);
void setAfrMap(afr_table_t table, float value);
void setMap(fuel_table_t table, float value);
void setWholeFuelMap(float value DECLARE_ENGINE_PARAMETER_SUFFIX);
Expand Down

0 comments on commit 20ef13a

Please sign in to comment.