From 3c7278f405acd1dce7393cd589fbe002f51bad3b Mon Sep 17 00:00:00 2001 From: Thom Johansen Date: Sun, 19 Mar 2006 17:42:58 +0000 Subject: Reworked backlight fading by GPIO based PWM to work for other targets than H1x0. iPod Nano and 5G backlight fading is enabled. To try for your device, just define HAVE_BACKLIGHT_PWM_FADING in the relevant config-xxxx.h file. NOTE: Will break your settings, so save a config file first. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9121 a1c6a512-1295-4272-9138-f99709370657 --- firmware/export/config-ipodnano.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'firmware/export/config-ipodnano.h') diff --git a/firmware/export/config-ipodnano.h b/firmware/export/config-ipodnano.h index 6bcbffb3b2..142fb272f9 100644 --- a/firmware/export/config-ipodnano.h +++ b/firmware/export/config-ipodnano.h @@ -48,6 +48,9 @@ /* Define this for LCD backlight available */ #define CONFIG_BACKLIGHT BL_IPODNANO /* port controlled */ +/* We can fade the backlight by using PWM */ +#define HAVE_BACKLIGHT_PWM_FADING + #ifndef SIMULATOR /* The Nano actually has a PP5021 - but it's register compatible with -- cgit v1.2.3