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/target/arm/ipod/backlight-target.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'firmware/target/arm/ipod') diff --git a/firmware/target/arm/ipod/backlight-target.h b/firmware/target/arm/ipod/backlight-target.h index 3c4bc04521..ce1b938526 100644 --- a/firmware/target/arm/ipod/backlight-target.h +++ b/firmware/target/arm/ipod/backlight-target.h @@ -50,7 +50,8 @@ bool _backlight_init(void); void _backlight_on(void); void _backlight_off(void); -#elif defined HAVE_BACKLIGHT_PWM_FADING /* Mini G1, G2 */ +/* Mini G1, G2, Video, Nano */ +#elif (CONFIG_BACKLIGHT_FADING == BACKLIGHT_FADING_PWM) #define _backlight_init() true void _backlight_hw_on(void); -- cgit v1.2.3