[X12S] Radio calibration regression fix

This commit is contained in:
Bertrand Songis
2016-08-19 09:51:50 +02:00
parent f940fcdcd0
commit fcce94a868
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -1722,7 +1722,7 @@ void doMixerCalculations()
int16_t val;
if (g_model.thrTraceSrc > NUM_POTS+NUM_SLIDERS) {
uint8_t ch = g_model.thrTraceSrc-NUM_POTS+NUM_SLIDERS-1;
uint8_t ch = g_model.thrTraceSrc-NUM_POTS-NUM_SLIDERS-1;
val = channelOutputs[ch];
LimitData *lim = limitAddress(ch);