summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorBarry Wardell <rockbox@barrywardell.net>2006-09-09 19:02:18 +0000
committerBarry Wardell <rockbox@barrywardell.net>2006-09-09 19:02:18 +0000
commit24ca76ffec3e0d782f75ac1cca2c0b2c8b71f5db (patch)
treef8c8476949fed16e768fb193e9e0987c4dc2d580 /apps
parenta374ca96fbb7e0ea00dcc85382ee806a523373ac (diff)
downloadrockbox-24ca76ffec3e0d782f75ac1cca2c0b2c8b71f5db.tar.gz
rockbox-24ca76ffec3e0d782f75ac1cca2c0b2c8b71f5db.tar.bz2
rockbox-24ca76ffec3e0d782f75ac1cca2c0b2c8b71f5db.zip
H10 fixes: Split LCD driver up into two drivers, one for each LCD type. Improvements to 20GB LCD driver - support for enable/disable, contrast adjustment, make the update code clearer and ~4% faster, support for flipping, support for invert. Fix CPU frequency for both models. Fix default battery capacity for 5/6GB.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10910 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r--apps/settings.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/apps/settings.h b/apps/settings.h
index 05f5dee382..b66e96b765 100644
--- a/apps/settings.h
+++ b/apps/settings.h
@@ -532,17 +532,15 @@ extern long lasttime;
extern const char rec_base_directory[];
/* system defines */
-#ifdef IAUDIO_X5
-#define MIN_CONTRAST_SETTING 1
-#define MAX_CONTRAST_SETTING 30
-#define DEFAULT_CONTRAST_SETTING 19
-#elif defined HAVE_LCD_CHARCELLS
+#ifndef TARGET_TREE
+#if defined HAVE_LCD_CHARCELLS
#define MIN_CONTRAST_SETTING 5
#define MAX_CONTRAST_SETTING 31
#else
#define MIN_CONTRAST_SETTING 5
#define MAX_CONTRAST_SETTING 63
#endif
+#endif /* !TARGET_TREE */
/* argument bits for settings_load() */
#define SETTINGS_RTC 1 /* only the settings from the RTC nonvolatile RAM */