rk27xx - fix backlight driver - now one can set brightness

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30138 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Marcin Bukat 2011-07-14 17:06:44 +00:00
parent 302c0b7484
commit cad91ed938
2 changed files with 24 additions and 15 deletions

View file

@ -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