summaryrefslogtreecommitdiff
path: root/firmware/export
diff options
context:
space:
mode:
authorMarcin Bukat <marcin.bukat@gmail.com>2011-07-14 17:06:44 +0000
committerMarcin Bukat <marcin.bukat@gmail.com>2011-07-14 17:06:44 +0000
commitcad91ed938049037a57e9bcc4c5ad63e45dbc2e6 (patch)
treede37d5a64444632898fac36ca44bdf08afb18299 /firmware/export
parent302c0b74847ccfac8fb79869b1bd696334e78e55 (diff)
downloadrockbox-cad91ed938049037a57e9bcc4c5ad63e45dbc2e6.tar.gz
rockbox-cad91ed938049037a57e9bcc4c5ad63e45dbc2e6.zip
rk27xx - fix backlight driver - now one can set brightness
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30138 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export')
-rw-r--r--firmware/export/config/rk27generic.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/firmware/export/config/rk27generic.h b/firmware/export/config/rk27generic.h
index 5427d1fed4..6ed7353d16 100644
--- a/firmware/export/config/rk27generic.h
+++ b/firmware/export/config/rk27generic.h
@@ -113,9 +113,12 @@
113 113
114/* Define this for LCD backlight available */ 114/* Define this for LCD backlight available */
115#define HAVE_BACKLIGHT 115#define HAVE_BACKLIGHT
116#define HAVE_BACKLIGHT_BRIGHTNESS
116 117
117/* Doesn't work so comment it out for now */ 118/* Main LCD backlight brightness range and defaults */
118/* #define HAVE_BACKLIGHT_BRIGHTNESS */ 119#define MIN_BRIGHTNESS_SETTING 0
120#define MAX_BRIGHTNESS_SETTING 31
121#define DEFAULT_BRIGHTNESS_SETTING 18
119 122
120/* Define this if you have a software controlled poweroff */ 123/* Define this if you have a software controlled poweroff */
121#define HAVE_SW_POWEROFF 124#define HAVE_SW_POWEROFF