From 3019ac38b73533ac286ed08a6dd24a9c61e8f56f Mon Sep 17 00:00:00 2001 From: Linus Nielsen Feltzing Date: Thu, 26 Jun 2003 21:27:03 +0000 Subject: Simulator compiler error fixed git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3763 a1c6a512-1295-4272-9138-f99709370657 --- apps/settings.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'apps') 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 } /* -- cgit v1.2.3