refactoring - removing unused parameter

This commit is contained in:
rusefi 2017-04-29 21:16:26 -04:00
parent 4df9e89afd
commit 0e992dd90c
3 changed files with 4 additions and 4 deletions

View File

@ -631,7 +631,7 @@ void initEngineContoller(Logging *sharedLogger DECLARE_ENGINE_PARAMETER_S) {
#endif /* EFI_ENGINE_CONTROL */
#if EFI_IDLE_CONTROL || defined(__DOXYGEN__)
startIdleThread(sharedLogger, engine);
startIdleThread(sharedLogger);
#endif /* EFI_IDLE_CONTROL */
if (engineConfiguration->externalKnockSenseAdc != EFI_ADC_NONE) {

View File

@ -51,7 +51,7 @@ static StepperMotor iacMotor;
/**
* that's the position with CLT and IAT corrections
*/
static float actualIdlePosition = -100.0f;
static percent_t actualIdlePosition = -100.0f;
/**
* Idle level calculation algorithm lives in idle_controller.cpp
@ -307,7 +307,7 @@ static void initIdleHardware() {
}
}
void startIdleThread(Logging*sharedLogger, Engine *engine) {
void startIdleThread(Logging*sharedLogger) {
logger = sharedLogger;
// todo: re-initialize idle pins on the fly

View File

@ -13,7 +13,7 @@
percent_t getIdlePosition(void);
void setIdleValvePosition(int positionPercent);
void startIdleThread(Logging*sharedLogger, Engine *engine);
void startIdleThread(Logging*sharedLogger);
void setDefaultIdleParameters(void);
void startIdleBench(void);
void setIdleDT(int value);