From cc839a26711069399ec86cdb63b2d246fa3395d2 Mon Sep 17 00:00:00 2001 From: Rani Hod Date: Mon, 31 Jul 2006 19:13:21 +0000 Subject: Applied FS#5734 by Michael Sevakis (X5 LCD contrast bugfix and some #define fixup). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10388 a1c6a512-1295-4272-9138-f99709370657 --- apps/settings_menu.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'apps/settings_menu.c') diff --git a/apps/settings_menu.c b/apps/settings_menu.c index f088c3b..20235f5 100644 --- a/apps/settings_menu.c +++ b/apps/settings_menu.c @@ -266,7 +266,7 @@ static bool remote_caption_backlight(void) } #endif /* HAVE_REMOTE_LCD */ -#if !defined(HAVE_LCD_COLOR) || defined(IAUDIO_X5) +#ifdef HAVE_LCD_CONTRAST static bool contrast(void) { return set_int( str(LANG_CONTRAST), "", UNIT_INT, @@ -274,7 +274,7 @@ static bool contrast(void) lcd_set_contrast, 1, MIN_CONTRAST_SETTING, MAX_CONTRAST_SETTING, NULL ); } -#endif /* HAVE_LCD_COLOR */ +#endif /* HAVE_LCD_CONTRAST */ #ifdef HAVE_LCD_BITMAP #ifndef HAVE_LCD_COLOR @@ -1781,7 +1781,7 @@ static bool lcd_settings_menu(void) { ID2P(LANG_BRIGHTNESS), brightness }, #endif #endif /* CONFIG_BACKLIGHT */ -#if !defined(HAVE_LCD_COLOR) || defined(IAUDIO_X5) +#ifdef HAVE_LCD_CONTRAST { ID2P(LANG_CONTRAST), contrast }, #endif #ifdef HAVE_LCD_BITMAP -- cgit v1.1