Simulator compiler error fixed

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3763 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Linus Nielsen Feltzing 2003-06-26 21:27:03 +00:00
parent d3fba4644d
commit 3019ac38b7

View File

@ -552,11 +552,15 @@ void settings_apply(void)
static int default_contrast(void)
{
#ifdef SIMULATOR
return 30;
#else
#ifdef HAVE_LCD_CHARCELLS
return 30;
#else
return (read_hw_mask() & LCD_CONTRAST_BIAS) ? 31 : 49;
#endif
#endif
}
/*