diff options
author | Thomas Martitz <kugel@rockbox.org> | 2009-01-26 23:21:49 +0000 |
---|---|---|
committer | Thomas Martitz <kugel@rockbox.org> | 2009-01-26 23:21:49 +0000 |
commit | 12a0ed3b8dd5d8996abf827115f526e21e838872 (patch) | |
tree | 00ec62e04cf0e4bc4ea9c7bc0f5b8893e198c7cd /firmware/export/config-c200.h | |
parent | 4e1b7bf7286c3994e34ca11f740a2165d9b5a001 (diff) | |
download | rockbox-12a0ed3b8dd5d8996abf827115f526e21e838872.tar.gz rockbox-12a0ed3b8dd5d8996abf827115f526e21e838872.zip |
Commit FS#9724, which reworks the preprocessor defines related to backlight fading to a CONFIG_BACKLIGHT_FADING style. The apps/ code will only see which setting is supposed to be used, specific backlight fading handling is kept in firmware, slightly reword the manual text about software fading too with regards to the Gigabeat S
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19860 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/config-c200.h')
-rw-r--r-- | firmware/export/config-c200.h | 21 |
1 files changed, 8 insertions, 13 deletions
diff --git a/firmware/export/config-c200.h b/firmware/export/config-c200.h index d68d21455f..cd9f5867dc 100644 --- a/firmware/export/config-c200.h +++ b/firmware/export/config-c200.h | |||
@@ -111,6 +111,14 @@ | |||
111 | #define HAVE_BACKLIGHT | 111 | #define HAVE_BACKLIGHT |
112 | #define HAVE_BACKLIGHT_BRIGHTNESS | 112 | #define HAVE_BACKLIGHT_BRIGHTNESS |
113 | 113 | ||
114 | /* Main LCD backlight brightness range and defaults */ | ||
115 | #define MIN_BRIGHTNESS_SETTING 1 | ||
116 | #define MAX_BRIGHTNESS_SETTING 12 | ||
117 | #define DEFAULT_BRIGHTNESS_SETTING 6 | ||
118 | |||
119 | /* Which backlight fading type? */ | ||
120 | #define CONFIG_BACKLIGHT_FADING BACKLIGHT_FADING_SW_SETTING | ||
121 | |||
114 | /* define this if you have a flash memory storage */ | 122 | /* define this if you have a flash memory storage */ |
115 | #define HAVE_FLASH_STORAGE | 123 | #define HAVE_FLASH_STORAGE |
116 | 124 | ||
@@ -138,12 +146,6 @@ | |||
138 | /** Non-simulator section **/ | 146 | /** Non-simulator section **/ |
139 | #ifndef SIMULATOR | 147 | #ifndef SIMULATOR |
140 | 148 | ||
141 | /* define this if the backlight thread is used for fade, not for sim, needs | ||
142 | * HAVE_BACKLIGHT_BRIGHTNESS */ | ||
143 | #ifndef BOOTLOADER | ||
144 | #define USE_BACKLIGHT_SW_FADING | ||
145 | #endif | ||
146 | |||
147 | /* Define this if you have a PortalPlayer PP5024 */ | 149 | /* Define this if you have a PortalPlayer PP5024 */ |
148 | #define CONFIG_CPU PP5022 | 150 | #define CONFIG_CPU PP5022 |
149 | 151 | ||
@@ -200,13 +202,6 @@ | |||
200 | 202 | ||
201 | #endif /* SIMULATOR */ | 203 | #endif /* SIMULATOR */ |
202 | 204 | ||
203 | /** Port-specific settings **/ | ||
204 | |||
205 | /* Main LCD backlight brightness range and defaults */ | ||
206 | #define MIN_BRIGHTNESS_SETTING 1 | ||
207 | #define MAX_BRIGHTNESS_SETTING 12 | ||
208 | #define DEFAULT_BRIGHTNESS_SETTING 6 | ||
209 | |||
210 | /* Default recording levels */ | 205 | /* Default recording levels */ |
211 | #define DEFAULT_REC_MIC_GAIN 23 | 206 | #define DEFAULT_REC_MIC_GAIN 23 |
212 | #define DEFAULT_REC_LEFT_GAIN 23 | 207 | #define DEFAULT_REC_LEFT_GAIN 23 |