From 6fc40cb7cb7f7f1ba73b3053251ed8e185369884 Mon Sep 17 00:00:00 2001 From: 3djc Date: Mon, 20 Nov 2017 19:04:02 +0100 Subject: [PATCH] Move to simple menu to prevent the need for dual RTN when scroll wheel is used (#5390) --- radio/src/gui/480x272/view_statistics.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/radio/src/gui/480x272/view_statistics.cpp b/radio/src/gui/480x272/view_statistics.cpp index ad28afaf8..13f362dcd 100644 --- a/radio/src/gui/480x272/view_statistics.cpp +++ b/radio/src/gui/480x272/view_statistics.cpp @@ -36,7 +36,7 @@ bool menuStatsGraph(event_t event) break; } - MENU(STR_STATISTICS, STATS_ICONS, menuTabStats, e_StatsGraph, 0, { 0 }); + SIMPLE_MENU(STR_STATISTICS, STATS_ICONS, menuTabStats, e_StatsGraph, 1); lcdDrawText(MENUS_MARGIN_LEFT, MENU_CONTENT_TOP, "Session"); drawTimer(MENU_STATS_COLUMN1, MENU_CONTENT_TOP, sessionTimer, TIMEHOUR); @@ -106,7 +106,7 @@ bool menuStatsDebug(event_t event) break; } - MENU("Debug", STATS_ICONS, menuTabStats, e_StatsDebug, 0, { 0 }); + SIMPLE_MENU("Debug", STATS_ICONS, menuTabStats, e_StatsDebug, 1); lcdDrawText(MENUS_MARGIN_LEFT, MENU_CONTENT_TOP, "Free Mem"); lcdDrawNumber(MENU_STATS_COLUMN1, MENU_CONTENT_TOP, availableMemory(), LEFT, 0, NULL, "b"); @@ -158,7 +158,7 @@ bool menuStatsDebug(event_t event) bool menuStatsAnalogs(event_t event) { - MENU("Analogs", STATS_ICONS, menuTabStats, e_StatsAnalogs, 0, { 0 }); + SIMPLE_MENU("Analogs", STATS_ICONS, menuTabStats, e_StatsAnalogs, 1); for (uint8_t i=0; i