From 12a0ed3b8dd5d8996abf827115f526e21e838872 Mon Sep 17 00:00:00 2001 From: Thomas Martitz Date: Mon, 26 Jan 2009 23:21:49 +0000 Subject: Commit FS#9724, which reworks the preprocessor defines related to backlight fading to a CONFIG_BACKLIGHT_FADING style. The apps/ code will only see which setting is supposed to be used, specific backlight fading handling is kept in firmware, slightly reword the manual text about software fading too with regards to the Gigabeat S git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19860 a1c6a512-1295-4272-9138-f99709370657 --- firmware/export/config-ipodnano.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'firmware/export/config-ipodnano.h') diff --git a/firmware/export/config-ipodnano.h b/firmware/export/config-ipodnano.h index 8752181bb9..1d82ec4428 100644 --- a/firmware/export/config-ipodnano.h +++ b/firmware/export/config-ipodnano.h @@ -81,15 +81,14 @@ /* Define this for LCD backlight available */ #define HAVE_BACKLIGHT #define HAVE_BACKLIGHT_BRIGHTNESS +/* We can fade the backlight by using PWM */ +#define CONFIG_BACKLIGHT_FADING BACKLIGHT_FADING_PWM /* Main LCD backlight brightness range and defaults */ #define MIN_BRIGHTNESS_SETTING 1 #define MAX_BRIGHTNESS_SETTING 32 #define DEFAULT_BRIGHTNESS_SETTING 16 -/* We can fade the backlight by using PWM */ -#define HAVE_BACKLIGHT_PWM_FADING - /* define this if the unit uses a scrollwheel for navigation */ #define HAVE_SCROLLWHEEL /* define from which rotation speed [degree/sec] on the acceleration starts */ -- cgit v1.2.3