From 940fe31f8102e8723856471896e463d090354aaf Mon Sep 17 00:00:00 2001 From: Jens Arnold Date: Sun, 18 Nov 2007 14:01:58 +0000 Subject: Move 4th Gen (grayscale and color) backlight init where it belongs. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15661 a1c6a512-1295-4272-9138-f99709370657 --- firmware/target/arm/ipod/backlight-target.h | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'firmware/target/arm/ipod/backlight-target.h') diff --git a/firmware/target/arm/ipod/backlight-target.h b/firmware/target/arm/ipod/backlight-target.h index 4190739474..b2158c595c 100644 --- a/firmware/target/arm/ipod/backlight-target.h +++ b/firmware/target/arm/ipod/backlight-target.h @@ -42,7 +42,13 @@ void _backlight_hw_enable(bool on); #define _BACKLIGHT_FADE_ENABLE #endif /* !BOOTLOADER */ -#elif defined HAVE_BACKLIGHT_PWM_FADING +#elif defined(IPOD_4G) || defined(IPOD_COLOR) + +bool _backlight_init(void); +void _backlight_on(void); +void _backlight_off(void); + +#elif defined HAVE_BACKLIGHT_PWM_FADING /* Mini G1, G2 */ #define _backlight_init() true void _backlight_hw_on(void); @@ -58,7 +64,7 @@ void _backlight_hw_off(void); #define _backlight_off_normal() _backlight_hw_off() #endif -#else +#else /* G1, G2, G3 */ #define _backlight_init() true void _backlight_on(void); -- cgit v1.2.3