summaryrefslogtreecommitdiff
path: root/firmware/export/config
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/config
parent302c0b74847ccfac8fb79869b1bd696334e78e55 (diff)
downloadrockbox-cad91ed938049037a57e9bcc4c5ad63e45dbc2e6.zip
rockbox-cad91ed938049037a57e9bcc4c5ad63e45dbc2e6.tar.gz
rockbox-cad91ed938049037a57e9bcc4c5ad63e45dbc2e6.tar.bz2
rockbox-cad91ed938049037a57e9bcc4c5ad63e45dbc2e6.tar.xz
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/config')
-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 5427d1f..6ed7353 100644
--- a/firmware/export/config/rk27generic.h
+++ b/firmware/export/config/rk27generic.h
@@ -113,9 +113,12 @@
/* Define this for LCD backlight available */
#define HAVE_BACKLIGHT
+#define HAVE_BACKLIGHT_BRIGHTNESS
-/* Doesn't work so comment it out for now */
-/* #define HAVE_BACKLIGHT_BRIGHTNESS */
+/* Main LCD backlight brightness range and defaults */
+#define MIN_BRIGHTNESS_SETTING 0
+#define MAX_BRIGHTNESS_SETTING 31
+#define DEFAULT_BRIGHTNESS_SETTING 18
/* Define this if you have a software controlled poweroff */
#define HAVE_SW_POWEROFF