From 3681ff197d3cf5393df3d56d7b6f7b39af0fc47f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nils=20Wallm=C3=A9nius?= Date: Sat, 3 Jan 2009 12:48:06 +0000 Subject: 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 --- apps/settings.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'apps/settings.c') 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( -- cgit v1.1