refactoring: renaming method
This commit is contained in:
parent
b756eba99b
commit
8ba835fb58
|
@ -227,7 +227,7 @@ void onConfigurationChangeBoostCallback(engine_configuration_s *previousConfigur
|
||||||
|
|
||||||
void initBoostCtrl() {
|
void initBoostCtrl() {
|
||||||
// todo: why do we have 'isBoostControlEnabled' setting exactly?
|
// todo: why do we have 'isBoostControlEnabled' setting exactly?
|
||||||
// 'initAuxPid' is an example of a subsystem without explicit enable
|
// 'initVvtActuators' is an example of a subsystem without explicit enable
|
||||||
if (!engineConfiguration->isBoostControlEnabled) {
|
if (!engineConfiguration->isBoostControlEnabled) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
|
@ -149,7 +149,7 @@ void stopVvtControlPins() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void initAuxPid() {
|
void initVvtActuators() {
|
||||||
|
|
||||||
vvtTable1.init(config->vvtTable1, config->vvtTable1LoadBins,
|
vvtTable1.init(config->vvtTable1, config->vvtTable1LoadBins,
|
||||||
config->vvtTable1RpmBins);
|
config->vvtTable1RpmBins);
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
|
|
||||||
class ValueProvider3D;
|
class ValueProvider3D;
|
||||||
|
|
||||||
void initAuxPid();
|
void initVvtActuators();
|
||||||
void startVvtControlPins();
|
void startVvtControlPins();
|
||||||
void stopVvtControlPins();
|
void stopVvtControlPins();
|
||||||
|
|
||||||
|
|
|
@ -690,7 +690,7 @@ void initEngineContoller() {
|
||||||
#endif /* EFI_ALTERNATOR_CONTROL */
|
#endif /* EFI_ALTERNATOR_CONTROL */
|
||||||
|
|
||||||
#if EFI_AUX_PID
|
#if EFI_AUX_PID
|
||||||
initAuxPid();
|
initVvtActuators();
|
||||||
#endif /* EFI_AUX_PID */
|
#endif /* EFI_AUX_PID */
|
||||||
|
|
||||||
#if EFI_MALFUNCTION_INDICATOR
|
#if EFI_MALFUNCTION_INDICATOR
|
||||||
|
|
Loading…
Reference in New Issue