diff options
author | Maurus Cuelenaere <mcuelenaere@gmail.com> | 2009-06-09 17:19:43 +0000 |
---|---|---|
committer | Maurus Cuelenaere <mcuelenaere@gmail.com> | 2009-06-09 17:19:43 +0000 |
commit | b91ebdd60078e7a8f6dec42270e3f0915ec08caa (patch) | |
tree | 45cba92e77e8407a0d5f4ee42a17c5c9a8388e1d /firmware/export | |
parent | a7621fcb8be98e8df99b5431065220067403a6f4 (diff) | |
download | rockbox-b91ebdd60078e7a8f6dec42270e3f0915ec08caa.tar.gz rockbox-b91ebdd60078e7a8f6dec42270e3f0915ec08caa.zip |
Properly implement backlighting on Onda VX7x7 (using PWM).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21235 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export')
-rw-r--r-- | firmware/export/config-ondavx747.h | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/firmware/export/config-ondavx747.h b/firmware/export/config-ondavx747.h index d735c045e2..2e757f36be 100644 --- a/firmware/export/config-ondavx747.h +++ b/firmware/export/config-ondavx747.h | |||
@@ -102,17 +102,14 @@ | |||
102 | #define HAVE_BACKLIGHT | 102 | #define HAVE_BACKLIGHT |
103 | #define HAVE_BACKLIGHT_BRIGHTNESS | 103 | #define HAVE_BACKLIGHT_BRIGHTNESS |
104 | 104 | ||
105 | /* define this if the backlight can be set to a brightness */ | ||
106 | #define __BACKLIGHT_INIT | ||
107 | |||
108 | /* Which backlight fading type? */ | 105 | /* Which backlight fading type? */ |
109 | //#define CONFIG_BACKLIGHT_FADING BACKLIGHT_FADING_PWM | 106 | #define CONFIG_BACKLIGHT_FADING BACKLIGHT_FADING_SW_HW_REG |
110 | 107 | ||
111 | /* Main LCD backlight brightness range and defaults */ | 108 | /* Main LCD backlight brightness range and defaults */ |
112 | #define MIN_BRIGHTNESS_SETTING 100 | 109 | #define MIN_BRIGHTNESS_SETTING 1 |
113 | #define MAX_BRIGHTNESS_SETTING 300 | 110 | #define MAX_BRIGHTNESS_SETTING 30 |
114 | #define DEFAULT_BRIGHTNESS_SETTING 300 /* "full brightness" */ | 111 | #define DEFAULT_BRIGHTNESS_SETTING 30 /* "full brightness" */ |
115 | #define DEFAULT_DIMNESS_SETTING 100 /* "most dim" */ | 112 | #define DEFAULT_DIMNESS_SETTING 1 /* "most dim" */ |
116 | 113 | ||
117 | /* Define this if you have a software controlled poweroff */ | 114 | /* Define this if you have a software controlled poweroff */ |
118 | #define HAVE_SW_POWEROFF | 115 | #define HAVE_SW_POWEROFF |