aux to vvt rename

This commit is contained in:
rusefillc 2021-02-17 08:53:39 -05:00
parent c37529f5ea
commit 02a49de390
4 changed files with 7 additions and 7 deletions

View File

@ -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) {
} }

View File

@ -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();
} }

View File

@ -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();

View File

@ -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);