Enable LCD invert setting in the menu for all targets that support it. This adds the menu option to H10 20GB and X5 builds.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11048 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Barry Wardell 2006-09-25 17:03:18 +00:00
parent d5429307d5
commit 2404913f45
16 changed files with 48 additions and 3 deletions

View file

@ -344,7 +344,7 @@ static bool contrast(void)
#endif /* HAVE_LCD_CONTRAST */
#ifdef HAVE_LCD_BITMAP
#ifndef HAVE_LCD_COLOR
#ifdef HAVE_LCD_INVERT
/**
* Menu to set LCD Mode (normal/inverse)
*/
@ -357,7 +357,7 @@ static bool invert(void)
lcd_set_invert_display);
return rc;
}
#endif /* HAVE_LCD_COLOR */
#endif /* HAVE_LCD_INVERT */
#ifdef HAVE_LCD_FLIP
/**
@ -1868,7 +1868,7 @@ static bool lcd_settings_menu(void)
{ ID2P(LANG_CONTRAST), contrast },
#endif
#ifdef HAVE_LCD_BITMAP
#ifndef HAVE_LCD_COLOR
#ifdef HAVE_LCD_INVERT
{ ID2P(LANG_INVERT), invert },
#endif
#ifdef HAVE_LCD_FLIP