diff options
author | Jens Arnold <amiconn@rockbox.org> | 2010-06-05 11:48:12 +0000 |
---|---|---|
committer | Jens Arnold <amiconn@rockbox.org> | 2010-06-05 11:48:12 +0000 |
commit | 57dcfe0eee31364771d71fe32395058de3af3fa6 (patch) | |
tree | 3240263d08ffce6f7596ab2f1c029007cee30454 /firmware/export | |
parent | 8598a2c82168ca60937b4a7ec370b56ecfc2a57f (diff) | |
download | rockbox-57dcfe0eee31364771d71fe32395058de3af3fa6.tar.gz rockbox-57dcfe0eee31364771d71fe32395058de3af3fa6.zip |
Implement backlight brightness for iPod G4 greyscale and iPod Color/Photo.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26573 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export')
-rw-r--r-- | firmware/export/config/ipod4g.h | 6 | ||||
-rw-r--r-- | firmware/export/config/ipodcolor.h | 6 |
2 files changed, 12 insertions, 0 deletions
diff --git a/firmware/export/config/ipod4g.h b/firmware/export/config/ipod4g.h index 61f12389d8..b9251e72fe 100644 --- a/firmware/export/config/ipod4g.h +++ b/firmware/export/config/ipod4g.h | |||
@@ -115,6 +115,12 @@ | |||
115 | 115 | ||
116 | /* Define this for LCD backlight available */ | 116 | /* Define this for LCD backlight available */ |
117 | #define HAVE_BACKLIGHT | 117 | #define HAVE_BACKLIGHT |
118 | #define HAVE_BACKLIGHT_BRIGHTNESS | ||
119 | |||
120 | /* Main LCD backlight brightness range and defaults */ | ||
121 | #define MIN_BRIGHTNESS_SETTING 1 | ||
122 | #define MAX_BRIGHTNESS_SETTING 31 | ||
123 | #define DEFAULT_BRIGHTNESS_SETTING 20 | ||
118 | 124 | ||
119 | /* define this if the unit uses a scrollwheel for navigation */ | 125 | /* define this if the unit uses a scrollwheel for navigation */ |
120 | #define HAVE_SCROLLWHEEL | 126 | #define HAVE_SCROLLWHEEL |
diff --git a/firmware/export/config/ipodcolor.h b/firmware/export/config/ipodcolor.h index ba546e85cb..5448cb76b7 100644 --- a/firmware/export/config/ipodcolor.h +++ b/firmware/export/config/ipodcolor.h | |||
@@ -99,6 +99,12 @@ | |||
99 | 99 | ||
100 | /* Define this for LCD backlight available */ | 100 | /* Define this for LCD backlight available */ |
101 | #define HAVE_BACKLIGHT | 101 | #define HAVE_BACKLIGHT |
102 | #define HAVE_BACKLIGHT_BRIGHTNESS | ||
103 | |||
104 | /* Main LCD backlight brightness range and defaults */ | ||
105 | #define MIN_BRIGHTNESS_SETTING 1 | ||
106 | #define MAX_BRIGHTNESS_SETTING 31 | ||
107 | #define DEFAULT_BRIGHTNESS_SETTING 20 | ||
102 | 108 | ||
103 | /* define this if the unit uses a scrollwheel for navigation */ | 109 | /* define this if the unit uses a scrollwheel for navigation */ |
104 | #define HAVE_SCROLLWHEEL | 110 | #define HAVE_SCROLLWHEEL |