mirror of https://github.com/rusefi/rusefi-1.git
aux to vvt rename
This commit is contained in:
parent
c37529f5ea
commit
02a49de390
|
@ -171,7 +171,7 @@ void initAlternatorCtrl(Logging *sharedLogger DECLARE_ENGINE_PARAMETER_SUFFIX) {
|
||||||
instance.Start();
|
instance.Start();
|
||||||
}
|
}
|
||||||
|
|
||||||
// todo: start invoking this method like 'startAuxPins'
|
// todo: start invoking this method like 'startVvtControlPins'
|
||||||
void startAlternatorPin(void) {
|
void startAlternatorPin(void) {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -112,13 +112,13 @@ static void turnAuxPidOn(int index) {
|
||||||
engineConfiguration->auxPidFrequency[0], 0.1);
|
engineConfiguration->auxPidFrequency[0], 0.1);
|
||||||
}
|
}
|
||||||
|
|
||||||
void startAuxPins() {
|
void startVvtControlPins() {
|
||||||
for (int i = 0;i <CAM_INPUTS_COUNT;i++) {
|
for (int i = 0;i <CAM_INPUTS_COUNT;i++) {
|
||||||
turnAuxPidOn(i);
|
turnAuxPidOn(i);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void stopAuxPins() {
|
void stopVvtControlPins() {
|
||||||
for (int i = 0;i < CAM_INPUTS_COUNT;i++) {
|
for (int i = 0;i < CAM_INPUTS_COUNT;i++) {
|
||||||
instances[i].auxOutputPin.deInit();
|
instances[i].auxOutputPin.deInit();
|
||||||
}
|
}
|
||||||
|
@ -138,7 +138,7 @@ void initAuxPid(Logging *sharedLogger) {
|
||||||
instances[i].init(i);
|
instances[i].init(i);
|
||||||
}
|
}
|
||||||
|
|
||||||
startAuxPins();
|
startVvtControlPins();
|
||||||
for (int i = 0;i < CAM_INPUTS_COUNT;i++) {
|
for (int i = 0;i < CAM_INPUTS_COUNT;i++) {
|
||||||
instances[i].Start();
|
instances[i].Start();
|
||||||
}
|
}
|
||||||
|
|
|
@ -10,6 +10,6 @@
|
||||||
#include "global.h"
|
#include "global.h"
|
||||||
|
|
||||||
void initAuxPid(Logging *sharedLogger);
|
void initAuxPid(Logging *sharedLogger);
|
||||||
void startAuxPins();
|
void startVvtControlPins();
|
||||||
void stopAuxPins();
|
void stopVvtControlPins();
|
||||||
|
|
||||||
|
|
|
@ -448,7 +448,7 @@ void applyNewHardwareSettings(void) {
|
||||||
startLogicAnalyzerPins();
|
startLogicAnalyzerPins();
|
||||||
#endif /* EFI_LOGIC_ANALYZER */
|
#endif /* EFI_LOGIC_ANALYZER */
|
||||||
#if EFI_AUX_PID
|
#if EFI_AUX_PID
|
||||||
startAuxPins();
|
startVvtControlPins();
|
||||||
#endif /* EFI_AUX_PID */
|
#endif /* EFI_AUX_PID */
|
||||||
|
|
||||||
adcConfigListener(engine);
|
adcConfigListener(engine);
|
||||||
|
|
Loading…
Reference in New Issue