From 743dcf7f69c4afa1efd2f84a2bd0b5e23d53b0b9 Mon Sep 17 00:00:00 2001 From: Bertrik Sikken Date: Tue, 23 Jun 2009 18:11:03 +0000 Subject: 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 --- firmware/export/config-meizu-m3.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'firmware/export/config-meizu-m3.h') 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 @@ #define DEFAULT_CONTRAST_SETTING 19 /* Match boot contrast */ /* Main LCD backlight brightness range and defaults */ -/* PCF50506 can output 0%-100% duty cycle but D305A expects %15-100%. */ -#define MIN_BRIGHTNESS_SETTING 1 /* 15/16 (93.75%) */ -#define MAX_BRIGHTNESS_SETTING 13 /* 3/16 (18.75%) */ -#define DEFAULT_BRIGHTNESS_SETTING 8 /* 8/16 (50.00%) = x5 boot default */ +#define MIN_BRIGHTNESS_SETTING 0 +#define MAX_BRIGHTNESS_SETTING 255 +#define DEFAULT_BRIGHTNESS_SETTING 200 -- cgit v1.2.3