diff --git a/radio/src/opentx.cpp b/radio/src/opentx.cpp index 745893911..af664925e 100644 --- a/radio/src/opentx.cpp +++ b/radio/src/opentx.cpp @@ -3829,8 +3829,11 @@ void doMixerCalculations() if (val<0) val=0; // prevent val be negative, which would corrupt throttle trace and timers; could occur if safetyswitch is smaller than limits } else { - // val = RESX + calibratedStick[g_model.thrTraceSrc == 0 ? THR_STICK : g_model.thrTraceSrc+NUM_STICKS-1]; +#ifdef PCBTARANIS + val = RESX + calibratedStick[g_model.thrTraceSrc == 0 ? THR_STICK : g_model.thrTraceSrc+NUM_STICKS-1]; +#else val = RESX + rawAnas[g_model.thrTraceSrc == 0 ? THR_STICK : g_model.thrTraceSrc+NUM_STICKS-1]; +#endif } #if !defined(CPUM64)