summaryrefslogtreecommitdiff
path: root/apps/settings.c
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2003-06-26 21:27:03 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2003-06-26 21:27:03 +0000
commit3019ac38b73533ac286ed08a6dd24a9c61e8f56f (patch)
tree514bdbbf0b767dcb7a4baa9304f2368459337342 /apps/settings.c
parentd3fba4644dc830dea5b4673a20643f650e571cff (diff)
Simulator compiler error fixed
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3763 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/settings.c')
-rw-r--r--apps/settings.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/settings.c b/apps/settings.c
index bc5a5bc7b4..d6e555f03e 100644
--- a/apps/settings.c
+++ b/apps/settings.c
@@ -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
}
/*