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