summaryrefslogtreecommitdiff
path: root/apps/menus
diff options
context:
space:
mode:
Diffstat (limited to 'apps/menus')
-rw-r--r--apps/menus/main_menu.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/menus/main_menu.c b/apps/menus/main_menu.c
index 2814c44fe6..03873faac9 100644
--- a/apps/menus/main_menu.c
+++ b/apps/menus/main_menu.c
@@ -441,8 +441,7 @@ static int info_action_callback(int action, struct gui_synclist *lists)
441 else if (action == ACTION_NONE) 441 else if (action == ACTION_NONE)
442 { 442 {
443 static int last_redraw = 0; 443 static int last_redraw = 0;
444 if (gui_synclist_item_is_onscreen(lists, 0, INFO_TIME) 444 if (TIME_AFTER(current_tick, last_redraw + HZ*5))
445 && TIME_AFTER(current_tick, last_redraw + HZ*5))
446 { 445 {
447 last_redraw = current_tick; 446 last_redraw = current_tick;
448 return ACTION_REDRAW; 447 return ACTION_REDRAW;