reverted throttle change for TARANIS

fixed compile issue for PCBTARANIS, because rawAnas didn't exist anymore
for PCBTARANIS.
This commit is contained in:
openfsguruh
2013-12-21 10:57:33 +01:00
parent bacb65338c
commit 8c6bfb208b
+4 -1
View File
@@ -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)