summaryrefslogtreecommitdiffstats
path: root/apps/menus/display_menu.c
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2008-03-28 19:07:27 +0000
committerJens Arnold <amiconn@rockbox.org>2008-03-28 19:07:27 +0000
commit5280395baa8a8f9c122940ac2ddbc6869377e527 (patch)
tree8986914805f1fee04d7def8fd97bf10bc4273c17 /apps/menus/display_menu.c
parent567105b2193d7acf5ac6f62d7f68f65b126ddb9a (diff)
downloadrockbox-5280395baa8a8f9c122940ac2ddbc6869377e527.tar.gz
rockbox-5280395baa8a8f9c122940ac2ddbc6869377e527.tar.bz2
rockbox-5280395baa8a8f9c122940ac2ddbc6869377e527.zip
Update the LCD after setting flip status as required by the LCD drivers. Fixes garbled display after flipping before the first list update.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16867 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/menus/display_menu.c')
-rw-r--r--apps/menus/display_menu.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/menus/display_menu.c b/apps/menus/display_menu.c
index 2a42a83b07..5b11bed7ed 100644
--- a/apps/menus/display_menu.c
+++ b/apps/menus/display_menu.c
@@ -67,6 +67,7 @@ int flipdisplay_callback(int action,const struct menu_item_ex *this_item)
case ACTION_EXIT_MENUITEM:
button_set_flip(global_settings.flip_display);
lcd_set_flip(global_settings.flip_display);
+ lcd_update();
#ifdef HAVE_REMOTE_LCD
lcd_remote_set_flip(global_settings.remote_flip_display);
lcd_remote_update();