From 99d3afbe1ac6702d5bb37eacdb5605d97e86d693 Mon Sep 17 00:00:00 2001 From: Bertrand Songis Date: Mon, 7 Sep 2015 21:41:30 +0200 Subject: [PATCH] Warning removed --- radio/src/gui/9X/navigation.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/radio/src/gui/9X/navigation.cpp b/radio/src/gui/9X/navigation.cpp index 674d8b8df..00cfb01c2 100755 --- a/radio/src/gui/9X/navigation.cpp +++ b/radio/src/gui/9X/navigation.cpp @@ -630,9 +630,8 @@ void check(check_event_t event, uint8_t curr, const MenuFuncP *menuTab, uint8_t uint8_t maxLines = menuTab ? LCD_LINES-1 : LCD_LINES-2; - int linesCount = maxrow; - #if defined(CPUARM) + int linesCount = maxrow; if (l_posVert == 0 || (l_posVert==1 && MAXCOL(vertpos_t(0)) >= HIDDEN_ROW) || (l_posVert==2 && MAXCOL(vertpos_t(0)) >= HIDDEN_ROW && MAXCOL(vertpos_t(1)) >= HIDDEN_ROW)) { s_pgOfs = 0; if (horTab) {