From 59aabb4ee558796bfc6ffc2ae9fbcc13c2b39f02 Mon Sep 17 00:00:00 2001 From: bsongis Date: Mon, 31 Mar 2014 11:32:29 +0200 Subject: [PATCH] Issue #892 fixed --- radio/src/gui/menu_model.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/radio/src/gui/menu_model.cpp b/radio/src/gui/menu_model.cpp index 288b6977e..94fe1a684 100644 --- a/radio/src/gui/menu_model.cpp +++ b/radio/src/gui/menu_model.cpp @@ -3891,11 +3891,7 @@ void menuModelLimits(uint8_t event) int8_t limit; #endif -#if defined(PPM_CENTER_ADJUSTABLE) - limit = ((g_model.extendedLimits && !limitAddress(k)->ppmCenter) ? 125 : 100); -#else limit = (g_model.extendedLimits ? 125 : 100); -#endif #if defined(PCBTARANIS) putsChn(0, y, k+1, (sub==k && m_posHorz < 0) ? INVERS : 0); @@ -3994,8 +3990,7 @@ void menuModelLimits(uint8_t event) #if defined(PPM_CENTER_ADJUSTABLE) case ITEM_LIMITS_PPM_CENTER: lcd_outdezAtt(LIMITS_PPM_CENTER_POS, y, PPM_CENTER+ld->ppmCenter, attr); -#pragma message("could be less restrictive!") - if (active && ld->max <= 0 && ld->min >= 0) { + if (active) { CHECK_INCDEC_MODELVAR(event, ld->ppmCenter, -125, +125); } break;