summaryrefslogtreecommitdiff
path: root/firmware/export/config-meizu-m3.h
diff options
context:
space:
mode:
authorBertrik Sikken <bertrik@sikken.nl>2009-06-23 18:11:03 +0000
committerBertrik Sikken <bertrik@sikken.nl>2009-06-23 18:11:03 +0000
commit743dcf7f69c4afa1efd2f84a2bd0b5e23d53b0b9 (patch)
treecbd5bb40837fb4ba624edd5ae768fd8e9aa8dfa7 /firmware/export/config-meizu-m3.h
parentd86cf998e887d6e1bac2754b3087710926c74a19 (diff)
downloadrockbox-743dcf7f69c4afa1efd2f84a2bd0b5e23d53b0b9.tar.gz
rockbox-743dcf7f69c4afa1efd2f84a2bd0b5e23d53b0b9.zip
Implement PWM backlight driver for the Meizus. Update Meizu M3 bootloader to control brightness with the touch strip.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21478 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/config-meizu-m3.h')
-rw-r--r--firmware/export/config-meizu-m3.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/firmware/export/config-meizu-m3.h b/firmware/export/config-meizu-m3.h
index 2ad20550d0..9e2d6cbf4e 100644
--- a/firmware/export/config-meizu-m3.h
+++ b/firmware/export/config-meizu-m3.h
@@ -178,8 +178,7 @@
178#define DEFAULT_CONTRAST_SETTING 19 /* Match boot contrast */ 178#define DEFAULT_CONTRAST_SETTING 19 /* Match boot contrast */
179 179
180/* Main LCD backlight brightness range and defaults */ 180/* Main LCD backlight brightness range and defaults */
181/* PCF50506 can output 0%-100% duty cycle but D305A expects %15-100%. */ 181#define MIN_BRIGHTNESS_SETTING 0
182#define MIN_BRIGHTNESS_SETTING 1 /* 15/16 (93.75%) */ 182#define MAX_BRIGHTNESS_SETTING 255
183#define MAX_BRIGHTNESS_SETTING 13 /* 3/16 (18.75%) */ 183#define DEFAULT_BRIGHTNESS_SETTING 200
184#define DEFAULT_BRIGHTNESS_SETTING 8 /* 8/16 (50.00%) = x5 boot default */
185 184