diff options
Diffstat (limited to 'firmware/export')
-rw-r--r-- | firmware/export/backlight.h | 9 | ||||
-rw-r--r-- | firmware/export/config-ipodnano.h | 6 | ||||
-rw-r--r-- | firmware/export/config-ipodvideo.h | 6 |
3 files changed, 21 insertions, 0 deletions
diff --git a/firmware/export/backlight.h b/firmware/export/backlight.h index 8df45990fd..47fee7d59e 100644 --- a/firmware/export/backlight.h +++ b/firmware/export/backlight.h | |||
@@ -85,4 +85,13 @@ void buttonlight_off(void); | |||
85 | void buttonlight_set_timeout(int index); | 85 | void buttonlight_set_timeout(int index); |
86 | #endif | 86 | #endif |
87 | 87 | ||
88 | /* Private API for use in target tree backlight code only */ | ||
89 | #ifdef HAVE_BUTTON_LIGHT | ||
90 | extern int _buttonlight_timeout; | ||
91 | #endif | ||
92 | #ifdef HAVE_LCD_SLEEP | ||
93 | extern int _lcd_sleep_timer; | ||
94 | extern int _lcd_sleep_timeout; | ||
95 | #endif | ||
96 | |||
88 | #endif /* BACKLIGHT_H */ | 97 | #endif /* BACKLIGHT_H */ |
diff --git a/firmware/export/config-ipodnano.h b/firmware/export/config-ipodnano.h index 4fcb8f69dc..69095614dc 100644 --- a/firmware/export/config-ipodnano.h +++ b/firmware/export/config-ipodnano.h | |||
@@ -72,6 +72,12 @@ | |||
72 | 72 | ||
73 | /* Define this for LCD backlight available */ | 73 | /* Define this for LCD backlight available */ |
74 | #define HAVE_BACKLIGHT | 74 | #define HAVE_BACKLIGHT |
75 | #define HAVE_BACKLIGHT_BRIGHTNESS | ||
76 | |||
77 | /* Main LCD backlight brightness range and defaults */ | ||
78 | #define MIN_BRIGHTNESS_SETTING 1 | ||
79 | #define MAX_BRIGHTNESS_SETTING 32 | ||
80 | #define DEFAULT_BRIGHTNESS_SETTING 16 | ||
75 | 81 | ||
76 | /* We can fade the backlight by using PWM */ | 82 | /* We can fade the backlight by using PWM */ |
77 | #define HAVE_BACKLIGHT_PWM_FADING | 83 | #define HAVE_BACKLIGHT_PWM_FADING |
diff --git a/firmware/export/config-ipodvideo.h b/firmware/export/config-ipodvideo.h index eecb65c809..60a5dd8f6f 100644 --- a/firmware/export/config-ipodvideo.h +++ b/firmware/export/config-ipodvideo.h | |||
@@ -72,6 +72,12 @@ | |||
72 | 72 | ||
73 | /* Define this for LCD backlight available */ | 73 | /* Define this for LCD backlight available */ |
74 | #define HAVE_BACKLIGHT | 74 | #define HAVE_BACKLIGHT |
75 | #define HAVE_BACKLIGHT_BRIGHTNESS | ||
76 | |||
77 | /* Main LCD backlight brightness range and defaults */ | ||
78 | #define MIN_BRIGHTNESS_SETTING 1 | ||
79 | #define MAX_BRIGHTNESS_SETTING 32 | ||
80 | #define DEFAULT_BRIGHTNESS_SETTING 16 | ||
75 | 81 | ||
76 | /* We can fade the backlight by using PWM */ | 82 | /* We can fade the backlight by using PWM */ |
77 | #define HAVE_BACKLIGHT_PWM_FADING | 83 | #define HAVE_BACKLIGHT_PWM_FADING |