Simulator compiler error fixed
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3763 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
d3fba4644d
commit
3019ac38b7
|
@ -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
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in New Issue
Block a user