This commit is contained in:
rusefi 2017-05-22 15:31:03 -04:00
parent 78b032806e
commit b25b6623d6
1 changed files with 4 additions and 0 deletions

View File

@ -40,6 +40,7 @@
#if EFI_ELECTRONIC_THROTTLE_BODY || defined(__DOXYGEN__)
#include "pin_repository.h"
#include "pwm_generator.h"
extern TunerStudioOutputChannels tsOutputChannels;
#define ETB_FREQ 400
@ -85,6 +86,9 @@ static msg_t etbThread(void *arg) {
}
outputDirectionClose.setValue(needEtbBraking);
if (engineConfiguration->debugMode == DBG_ELECTRONIC_THROTTLE) {
pid.postState(&tsOutputChannels);
}
// if (tps != prevTps) {
// prevTps = tps;