summaryrefslogtreecommitdiffstats
path: root/firmware/export/config-clip.h
diff options
context:
space:
mode:
authorBertrik Sikken <bertrik@sikken.nl>2008-11-25 22:29:17 +0000
committerBertrik Sikken <bertrik@sikken.nl>2008-11-25 22:29:17 +0000
commit3e965fd6c3d9a02a48eef4d647145cec65e04e81 (patch)
tree673172866a739897f0e211df1e411030fac7a80e /firmware/export/config-clip.h
parenta091d20ba02ecc0ba308f61013f99d38d8dcd0e7 (diff)
downloadrockbox-3e965fd6c3d9a02a48eef4d647145cec65e04e81.tar.gz
rockbox-3e965fd6c3d9a02a48eef4d647145cec65e04e81.zip
Enable display contrast setting and implement flip for the Clip.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19219 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/config-clip.h')
-rw-r--r--firmware/export/config-clip.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/firmware/export/config-clip.h b/firmware/export/config-clip.h
index 7fb6c41fba..4266b59a7f 100644
--- a/firmware/export/config-clip.h
+++ b/firmware/export/config-clip.h
@@ -61,6 +61,13 @@
/* define this if you can flip your LCD */
#define HAVE_LCD_FLIP
+/* Define this if your LCD can set contrast */
+#define HAVE_LCD_CONTRAST
+
+#define MIN_CONTRAST_SETTING 0
+#define MAX_CONTRAST_SETTING 50
+#define DEFAULT_CONTRAST_SETTING 30
+
/* #define IRAM_LCDFRAMEBUFFER IDATA_ATTR *//* put the lcd frame buffer in IRAM */
#define CONFIG_KEYPAD SANSA_CLIP_PAD