refactoring

This commit is contained in:
rusefi 2017-06-11 14:40:29 -04:00
parent be44198033
commit 18a3d18781
4 changed files with 4 additions and 4 deletions

View File

@ -52,7 +52,7 @@ void setBmwE34(DECLARE_ENGINE_PARAMETER_SIGNATURE) {
// Injection settings // Injection settings
setInjectorLag(1.15 PASS_ENGINE_PARAMETER_SUFFIX); setFlatInjectorLag(1.15 PASS_ENGINE_PARAMETER_SUFFIX);
engineConfiguration->injector.flow = 750; engineConfiguration->injector.flow = 750;

View File

@ -572,7 +572,7 @@ void setAlgorithm(engine_load_mode_e algo DECLARE_ENGINE_PARAMETER_SUFFIX) {
} }
} }
void setInjectorLag(float value DECLARE_ENGINE_PARAMETER_SUFFIX) { void setFlatInjectorLag(float value DECLARE_ENGINE_PARAMETER_SUFFIX) {
setArrayValues(engineConfiguration->injector.battLagCorr, VBAT_INJECTOR_CURVE_SIZE, value); setArrayValues(engineConfiguration->injector.battLagCorr, VBAT_INJECTOR_CURVE_SIZE, value);
} }

View File

@ -23,7 +23,7 @@ void setAlgorithm(engine_load_mode_e algo DECLARE_ENGINE_PARAMETER_SUFFIX);
#define assertAngleRange(angle, msg) {} #define assertAngleRange(angle, msg) {}
#endif #endif
void setInjectorLag(float value DECLARE_ENGINE_PARAMETER_SUFFIX); void setFlatInjectorLag(float value DECLARE_ENGINE_PARAMETER_SUFFIX);
/** /**

View File

@ -1295,7 +1295,7 @@ void initSettings(void) {
addConsoleActionII("set_toothed_wheel", setToothedWheel); addConsoleActionII("set_toothed_wheel", setToothedWheel);
addConsoleActionF("set_injector_lag", setInjectorLag); addConsoleActionF("set_flat_injector_lag", setFlatInjectorLag);
addConsoleActionFF("set_fan", setFanSetting); addConsoleActionFF("set_fan", setFanSetting);