summaryrefslogtreecommitdiff
path: root/apps/settings.c
diff options
context:
space:
mode:
authorNils Wallménius <nils@rockbox.org>2009-01-03 12:48:06 +0000
committerNils Wallménius <nils@rockbox.org>2009-01-03 12:48:06 +0000
commit3681ff197d3cf5393df3d56d7b6f7b39af0fc47f (patch)
tree057abedb9b45425c53e27739b3c228a6148ab456 /apps/settings.c
parentd14f79dc7b4888b345ec2b71c36ca432d23c5711 (diff)
downloadrockbox-3681ff197d3cf5393df3d56d7b6f7b39af0fc47f.zip
rockbox-3681ff197d3cf5393df3d56d7b6f7b39af0fc47f.tar.gz
rockbox-3681ff197d3cf5393df3d56d7b6f7b39af0fc47f.tar.bz2
rockbox-3681ff197d3cf5393df3d56d7b6f7b39af0fc47f.tar.xz
Reorder of user_settings, cleaned out some unused settings grouped settings depending on the same preprocessor defines together a bit more to make it more readable, updated some comments. Plugin api bump and the wps token for 12/24 hour clock setting is now excluded for non rtc targets
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19655 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/settings.c')
-rw-r--r--apps/settings.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/settings.c b/apps/settings.c
index dcd68b6..42fb4da 100644
--- a/apps/settings.c
+++ b/apps/settings.c
@@ -800,9 +800,13 @@ void settings_apply(bool read_disk)
#endif
#ifdef HAVE_LCD_BITMAP
+#ifdef HAVE_LCD_INVERT
lcd_set_invert_display(global_settings.invert);
+#endif
+#ifdef HAVE_LCD_FLIP
lcd_set_flip(global_settings.flip_display);
button_set_flip(global_settings.flip_display);
+#endif
lcd_update(); /* refresh after flipping the screen */
settings_apply_pm_range();
peak_meter_init_times(