diff --git a/firmware/console/binary/tunerstudio_outputs.h b/firmware/console/binary/tunerstudio_outputs.h index feecb295ec..f1df359082 100644 --- a/firmware/console/binary/tunerstudio_outputs.h +++ b/firmware/console/binary/tunerstudio_outputs.h @@ -14,10 +14,6 @@ #include "efi_scaled_channel.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 diff --git a/firmware/controllers/trigger/trigger_central.cpp b/firmware/controllers/trigger/trigger_central.cpp index 4eb55619b3..3648d1508f 100644 --- a/firmware/controllers/trigger/trigger_central.cpp +++ b/firmware/controllers/trigger/trigger_central.cpp @@ -599,7 +599,6 @@ bool TriggerNoiseFilter::noiseFilter(efitick_t nowNt, } void TriggerCentral::decodeMapCam(efitick_t timestamp, float currentPhase) { -#if WITH_TS_STATE if (engineConfiguration->vvtMode[0] == VVT_MAP_V_TWIN && 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. @@ -641,7 +640,6 @@ void TriggerCentral::decodeMapCam(efitick_t timestamp, float currentPhase) { mapCamPrevToothAngle = toothAngle360; } -#endif // WITH_TS_STATE } /**