dead idea
This commit is contained in:
parent
09604ec53f
commit
85b170f84e
|
@ -14,10 +14,6 @@
|
||||||
#include "efi_scaled_channel.h"
|
#include "efi_scaled_channel.h"
|
||||||
#include "output_channels_generated.h"
|
#include "output_channels_generated.h"
|
||||||
|
|
||||||
#ifndef WITH_TS_STATE
|
|
||||||
// do we ever see a case of compiling without TSOutputChannels? Shall we wipe out all '#if EFI_TUNER_STUDIO' or replace with '#if WITH_TS_STATE'
|
|
||||||
#define WITH_TS_STATE TRUE
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* todo https://github.com/rusefi/rusefi/issues/197
|
* todo https://github.com/rusefi/rusefi/issues/197
|
||||||
|
|
|
@ -599,7 +599,6 @@ bool TriggerNoiseFilter::noiseFilter(efitick_t nowNt,
|
||||||
}
|
}
|
||||||
|
|
||||||
void TriggerCentral::decodeMapCam(efitick_t timestamp, float currentPhase) {
|
void TriggerCentral::decodeMapCam(efitick_t timestamp, float currentPhase) {
|
||||||
#if WITH_TS_STATE
|
|
||||||
if (engineConfiguration->vvtMode[0] == VVT_MAP_V_TWIN &&
|
if (engineConfiguration->vvtMode[0] == VVT_MAP_V_TWIN &&
|
||||||
Sensor::getOrZero(SensorType::Rpm) < engineConfiguration->cranking.rpm) {
|
Sensor::getOrZero(SensorType::Rpm) < engineConfiguration->cranking.rpm) {
|
||||||
// we are trying to figure out which 360 half of the total 720 degree cycle is which, so we compare those in 360 degree sense.
|
// we are trying to figure out which 360 half of the total 720 degree cycle is which, so we compare those in 360 degree sense.
|
||||||
|
@ -641,7 +640,6 @@ void TriggerCentral::decodeMapCam(efitick_t timestamp, float currentPhase) {
|
||||||
|
|
||||||
mapCamPrevToothAngle = toothAngle360;
|
mapCamPrevToothAngle = toothAngle360;
|
||||||
}
|
}
|
||||||
#endif // WITH_TS_STATE
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue