From b91ebdd60078e7a8f6dec42270e3f0915ec08caa Mon Sep 17 00:00:00 2001 From: Maurus Cuelenaere Date: Tue, 9 Jun 2009 17:19:43 +0000 Subject: Properly implement backlighting on Onda VX7x7 (using PWM). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21235 a1c6a512-1295-4272-9138-f99709370657 --- firmware/export/config-ondavx747.h | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) (limited to 'firmware/export/config-ondavx747.h') 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 @@ #define HAVE_BACKLIGHT #define HAVE_BACKLIGHT_BRIGHTNESS -/* define this if the backlight can be set to a brightness */ -#define __BACKLIGHT_INIT - /* Which backlight fading type? */ -//#define CONFIG_BACKLIGHT_FADING BACKLIGHT_FADING_PWM +#define CONFIG_BACKLIGHT_FADING BACKLIGHT_FADING_SW_HW_REG /* Main LCD backlight brightness range and defaults */ -#define MIN_BRIGHTNESS_SETTING 100 -#define MAX_BRIGHTNESS_SETTING 300 -#define DEFAULT_BRIGHTNESS_SETTING 300 /* "full brightness" */ -#define DEFAULT_DIMNESS_SETTING 100 /* "most dim" */ +#define MIN_BRIGHTNESS_SETTING 1 +#define MAX_BRIGHTNESS_SETTING 30 +#define DEFAULT_BRIGHTNESS_SETTING 30 /* "full brightness" */ +#define DEFAULT_DIMNESS_SETTING 1 /* "most dim" */ /* Define this if you have a software controlled poweroff */ #define HAVE_SW_POWEROFF -- cgit v1.2.3