From 93d8ca53c3b6dd0602b31131da0a6f814ec73ca0 Mon Sep 17 00:00:00 2001 From: Miika Pekkarinen Date: Sat, 19 Nov 2005 09:26:02 +0000 Subject: Fixed the simulator builds and added HAVE_REMOTE_LCD_TICKING define. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7987 a1c6a512-1295-4272-9138-f99709370657 --- apps/settings.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'apps/settings.c') diff --git a/apps/settings.c b/apps/settings.c index 612c766..0bbdeaa 100644 --- a/apps/settings.c +++ b/apps/settings.c @@ -277,7 +277,7 @@ static const struct bit_entry rtc_bits[] = {1, S_O(bidi_support), false, "bidi hebrew/arabic", off_on }, #endif -#ifdef HAVE_REMOTE_LCD /* move to REMOTE_LCD next time we bump version */ +#ifdef HAVE_REMOTE_LCD_TICKING /* move to REMOTE_LCD next time we bump version */ {1, S_O(remote_reduce_ticking), false, "remote reduce ticking", off_on }, #endif @@ -854,7 +854,9 @@ void settings_apply(void) lcd_remote_set_contrast(global_settings.remote_contrast); lcd_remote_set_invert_display(global_settings.remote_invert); lcd_remote_set_flip(global_settings.remote_flip_display); +#ifdef HAVE_REMOTE_LCD_TICKING lcd_remote_emireduce(global_settings.remote_reduce_ticking); +#endif remote_backlight_set_timeout(global_settings.remote_backlight_timeout); #endif backlight_set_timeout(global_settings.backlight_timeout); -- cgit v1.1