summaryrefslogtreecommitdiff
path: root/apps/menu.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/menu.c')
-rw-r--r--apps/menu.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/apps/menu.c b/apps/menu.c
index b38821e9e9..9cedbebed8 100644
--- a/apps/menu.c
+++ b/apps/menu.c
@@ -134,7 +134,6 @@ static void menu_draw(int m)
134 int menu_lines = MENU_LINES; 134 int menu_lines = MENU_LINES;
135#endif 135#endif
136 136
137 lcd_scroll_pause(); /* halt scroll first... */
138 lcd_clear_display(); /* ...then clean the screen */ 137 lcd_clear_display(); /* ...then clean the screen */
139#ifdef HAVE_LCD_BITMAP 138#ifdef HAVE_LCD_BITMAP
140 lcd_setmargins(MARGIN_X,MARGIN_Y); /* leave room for cursor and icon */ 139 lcd_setmargins(MARGIN_X,MARGIN_Y); /* leave room for cursor and icon */
@@ -289,14 +288,12 @@ bool menu_run(int m)
289#endif 288#endif
290 case BUTTON_PLAY: 289 case BUTTON_PLAY:
291 /* Erase current display state */ 290 /* Erase current display state */
292 lcd_scroll_pause(); /* pause is better than stop when
293 are gonna clear the screen anyway */
294 lcd_clear_display(); 291 lcd_clear_display();
295 292
296 /* if a child returns that USB was used, 293 /* if a child returns that USB was used,
297 we return immediately */ 294 we return immediately */
298 if (menus[m].items[menus[m].cursor].function()) { 295 if (menus[m].items[menus[m].cursor].function()) {
299 lcd_scroll_pause(); /* just in case */ 296 lcd_stop_scroll(); /* just in case */
300 return true; 297 return true;
301 } 298 }
302 299
@@ -311,7 +308,7 @@ bool menu_run(int m)
311 case BUTTON_STOP: 308 case BUTTON_STOP:
312 case BUTTON_MENU: 309 case BUTTON_MENU:
313#endif 310#endif
314 lcd_scroll_pause(); 311 lcd_stop_scroll();
315 exit = true; 312 exit = true;
316 break; 313 break;
317 314