From 3a0dc9c7845d77bbe12f2df71fd768a050cba6b6 Mon Sep 17 00:00:00 2001 From: rusefi Date: Tue, 2 May 2017 18:05:29 -0400 Subject: [PATCH] AUX pid stop pin --- firmware/controllers/algo/aux_pid.cpp | 17 ++++++++++++++--- firmware/controllers/algo/aux_pid.h | 2 ++ 2 files changed, 16 insertions(+), 3 deletions(-) diff --git a/firmware/controllers/algo/aux_pid.cpp b/firmware/controllers/algo/aux_pid.cpp index 4e17b9301e..eabb9426c2 100644 --- a/firmware/controllers/algo/aux_pid.cpp +++ b/firmware/controllers/algo/aux_pid.cpp @@ -16,6 +16,7 @@ #include "tunerstudio_configuration.h" #include "fsio_impl.h" #include "engine_math.h" +#include "pin_repository.h" EXTERN_ENGINE ; @@ -119,15 +120,25 @@ static void turnAuxPidOn(int index) { engineConfiguration->auxPidFrequency[index], 0.1, applyPinState); } +void startAuxPins(void) { + for (int i = 0;i