diff options
Diffstat (limited to 'firmware/export')
-rw-r--r-- | firmware/export/backlight.h | 2 | ||||
-rw-r--r-- | firmware/export/config-h100.h | 3 | ||||
-rw-r--r-- | firmware/export/config-h120.h | 3 | ||||
-rw-r--r-- | firmware/export/config-ipodnano.h | 3 | ||||
-rw-r--r-- | firmware/export/config-ipodvideo.h | 3 |
5 files changed, 13 insertions, 1 deletions
diff --git a/firmware/export/backlight.h b/firmware/export/backlight.h index 05d395f4a6..e182803898 100644 --- a/firmware/export/backlight.h +++ b/firmware/export/backlight.h | |||
@@ -27,7 +27,7 @@ void backlight_set_timeout(int index); | |||
27 | #ifdef CONFIG_BACKLIGHT | 27 | #ifdef CONFIG_BACKLIGHT |
28 | void backlight_init(void); | 28 | void backlight_init(void); |
29 | int backlight_get_current_timeout(void); | 29 | int backlight_get_current_timeout(void); |
30 | #if CONFIG_BACKLIGHT == BL_IRIVER_H100 | 30 | #ifdef HAVE_BACKLIGHT_PWM_FADING |
31 | void backlight_set_fade_in(int index); | 31 | void backlight_set_fade_in(int index); |
32 | void backlight_set_fade_out(int index); | 32 | void backlight_set_fade_out(int index); |
33 | #endif | 33 | #endif |
diff --git a/firmware/export/config-h100.h b/firmware/export/config-h100.h index bdbcce71a4..bc8968902d 100644 --- a/firmware/export/config-h100.h +++ b/firmware/export/config-h100.h | |||
@@ -40,6 +40,9 @@ | |||
40 | /* Define this for LCD backlight available */ | 40 | /* Define this for LCD backlight available */ |
41 | #define CONFIG_BACKLIGHT BL_IRIVER_H100 /* port controlled */ | 41 | #define CONFIG_BACKLIGHT BL_IRIVER_H100 /* port controlled */ |
42 | 42 | ||
43 | /* We can fade the backlight by using PWM */ | ||
44 | #define HAVE_BACKLIGHT_PWM_FADING | ||
45 | |||
43 | /* Define this if you have a software controlled poweroff */ | 46 | /* Define this if you have a software controlled poweroff */ |
44 | #define HAVE_SW_POWEROFF | 47 | #define HAVE_SW_POWEROFF |
45 | 48 | ||
diff --git a/firmware/export/config-h120.h b/firmware/export/config-h120.h index aea6011e63..bbfa942ee7 100644 --- a/firmware/export/config-h120.h +++ b/firmware/export/config-h120.h | |||
@@ -36,6 +36,9 @@ | |||
36 | /* Define this for LCD backlight available */ | 36 | /* Define this for LCD backlight available */ |
37 | #define CONFIG_BACKLIGHT BL_IRIVER_H100 /* port controlled */ | 37 | #define CONFIG_BACKLIGHT BL_IRIVER_H100 /* port controlled */ |
38 | 38 | ||
39 | /* We can fade the backlight by using PWM */ | ||
40 | #define HAVE_BACKLIGHT_PWM_FADING | ||
41 | |||
39 | /* Define this if you have a software controlled poweroff */ | 42 | /* Define this if you have a software controlled poweroff */ |
40 | #define HAVE_SW_POWEROFF | 43 | #define HAVE_SW_POWEROFF |
41 | 44 | ||
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 @@ | |||
48 | /* Define this for LCD backlight available */ | 48 | /* Define this for LCD backlight available */ |
49 | #define CONFIG_BACKLIGHT BL_IPODNANO /* port controlled */ | 49 | #define CONFIG_BACKLIGHT BL_IPODNANO /* port controlled */ |
50 | 50 | ||
51 | /* We can fade the backlight by using PWM */ | ||
52 | #define HAVE_BACKLIGHT_PWM_FADING | ||
53 | |||
51 | #ifndef SIMULATOR | 54 | #ifndef SIMULATOR |
52 | 55 | ||
53 | /* The Nano actually has a PP5021 - but it's register compatible with | 56 | /* The Nano actually has a PP5021 - but it's register compatible with |
diff --git a/firmware/export/config-ipodvideo.h b/firmware/export/config-ipodvideo.h index 6ea9fcebb8..9536cc8b8f 100644 --- a/firmware/export/config-ipodvideo.h +++ b/firmware/export/config-ipodvideo.h | |||
@@ -48,6 +48,9 @@ | |||
48 | /* Define this for LCD backlight available */ | 48 | /* Define this for LCD backlight available */ |
49 | #define CONFIG_BACKLIGHT BL_IPODNANO /* port controlled */ | 49 | #define CONFIG_BACKLIGHT BL_IPODNANO /* port controlled */ |
50 | 50 | ||
51 | /* We can fade the backlight by using PWM */ | ||
52 | #define HAVE_BACKLIGHT_PWM_FADING | ||
53 | |||
51 | #ifndef SIMULATOR | 54 | #ifndef SIMULATOR |
52 | 55 | ||
53 | /* The Nano actually has a PP5021 - but it's register compatible with | 56 | /* The Nano actually has a PP5021 - but it's register compatible with |