refactoring - removing unused parameter
This commit is contained in:
parent
4df9e89afd
commit
0e992dd90c
|
@ -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) {
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue