From 050c1b5a7fa7cfa34c49f4b020b89e355beaf651 Mon Sep 17 00:00:00 2001 From: Bertrand Songis Date: Mon, 14 Mar 2016 22:37:28 +0100 Subject: [PATCH] =?UTF-8?q?[Horus]=C2=A0Wrong=20timer=20displayed?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- radio/src/gui/horus/view_statistics.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/radio/src/gui/horus/view_statistics.cpp b/radio/src/gui/horus/view_statistics.cpp index 809fb0e16..6cbca362a 100644 --- a/radio/src/gui/horus/view_statistics.cpp +++ b/radio/src/gui/horus/view_statistics.cpp @@ -44,10 +44,11 @@ bool menuStatsGraph(evt_t event) lcdDrawText(MENU_STATS_COLUMN1, MENU_CONTENT_TOP+2*FH, "[1]", HEADER_COLOR); putsTimer(lcdNextPos+5, MENU_CONTENT_TOP+2*FH, timersStates[0].val); lcdDrawText(MENU_STATS_COLUMN2, MENU_CONTENT_TOP+2*FH, "[2]", HEADER_COLOR); - putsTimer(lcdNextPos+10, MENU_CONTENT_TOP+2*FH, timersStates[2].val); + putsTimer(lcdNextPos+10, MENU_CONTENT_TOP+2*FH, timersStates[1].val); +#if TIMERS > 2 lcdDrawText(MENU_STATS_COLUMN3, MENU_CONTENT_TOP+2*FH, "[3]", HEADER_COLOR); - putsTimer(lcdNextPos+10, MENU_CONTENT_TOP+2*FH, timersStates[3].val); - + putsTimer(lcdNextPos+10, MENU_CONTENT_TOP+2*FH, timersStates[2].val); +#endif const coord_t x = 10; const coord_t y = 240;