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-h300.h | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'firmware/export/config-h300.h') diff --git a/firmware/export/config-h300.h b/firmware/export/config-h300.h index 05d75fc4f0..037bb26b2d 100644 --- a/firmware/export/config-h300.h +++ b/firmware/export/config-h300.h @@ -68,6 +68,8 @@ /* Define this for LCD backlight available */ #define HAVE_BACKLIGHT #define HAVE_BACKLIGHT_BRIGHTNESS +/* Which backlight fading type? */ +#define CONFIG_BACKLIGHT_FADING BACKLIGHT_FADING_SW_HW_REG /* Define this if you have a software controlled poweroff */ #define HAVE_SW_POWEROFF @@ -125,12 +127,6 @@ #ifndef SIMULATOR -/* define this if the backlight thread is used for fade, not for sim, needs - * HAVE_BACKLIGHT_BRIGHTNESS */ -#ifndef BOOTLOADER -#define USE_BACKLIGHT_SW_FADING -#endif - /* Define this if your LCD can be enabled/disabled */ #define HAVE_LCD_ENABLE -- cgit v1.2.3