diff --git a/src/model_menus.cpp b/src/model_menus.cpp index c357ddd8b..5bbc5a790 100644 --- a/src/model_menus.cpp +++ b/src/model_menus.cpp @@ -659,7 +659,7 @@ void menuProcModel(uint8_t event) { lcd_putsLeft(y, STR_TTRACE); int8_t idx = 3; - if (g_model.thrTraceSrc > NUM_POTS) idx = NUM_STICKS+NUM_ROTARY_ENCODERS+2+3+NUM_PPM+g_model.thrTraceSrc; + if (g_model.thrTraceSrc > NUM_POTS) idx = NUM_STICKS+NUM_ROTARY_ENCODERS+NUM_STICKS+2+3+NUM_PPM+g_model.thrTraceSrc; else if (g_model.thrTraceSrc > 0) idx = NUM_STICKS+g_model.thrTraceSrc; putsChnRaw(MODEL_PARAM_OFS, y, idx, attr); if (attr) CHECK_INCDEC_MODELVAR(event, g_model.thrTraceSrc, 0, NUM_POTS+NUM_CHNOUT);