reverted throttle change for TARANIS
fixed compile issue for PCBTARANIS, because rawAnas didn't exist anymore for PCBTARANIS.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user