From a4a91dcd723d90057057f8572db35a76dce74ed6 Mon Sep 17 00:00:00 2001 From: bsongis Date: Mon, 21 May 2012 21:08:05 +0000 Subject: [PATCH] Cosmetic problem in LIMITS menu (PPM_CENTER_ADJUSTABLE=NO and PPM_LIMITS_UNIT=US) --- src/model_menus.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/model_menus.cpp b/src/model_menus.cpp index 4b51119c4..9ffdb45fa 100644 --- a/src/model_menus.cpp +++ b/src/model_menus.cpp @@ -1958,7 +1958,7 @@ void menuProcLimits(uint8_t event) break; case 2: #ifdef PPM_LIMITS_UNIT_US - lcd_outdezAtt(16*FW, y, (((int16_t)ld->max+100)*128) / 25, attr | INFLIGHT(ld->max)); + lcd_outdezAtt(LIMITS_MAX_POS, y, (((int16_t)ld->max+100)*128) / 25, attr | INFLIGHT(ld->max)); #else lcd_outdezAtt(LIMITS_MAX_POS, y, (int8_t)(ld->max+100), attr | INFLIGHT(ld->max)); #endif