summaryrefslogtreecommitdiff
path: root/firmware/export/config-fuze.h
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2009-01-26 23:21:49 +0000
committerThomas Martitz <kugel@rockbox.org>2009-01-26 23:21:49 +0000
commit12a0ed3b8dd5d8996abf827115f526e21e838872 (patch)
tree00ec62e04cf0e4bc4ea9c7bc0f5b8893e198c7cd /firmware/export/config-fuze.h
parent4e1b7bf7286c3994e34ca11f740a2165d9b5a001 (diff)
downloadrockbox-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-fuze.h')
-rw-r--r--firmware/export/config-fuze.h21
1 files changed, 8 insertions, 13 deletions
diff --git a/firmware/export/config-fuze.h b/firmware/export/config-fuze.h
index 3e5880775b..0bc2d70bf7 100644
--- a/firmware/export/config-fuze.h
+++ b/firmware/export/config-fuze.h
@@ -106,6 +106,14 @@
106#define HAVE_BACKLIGHT 106#define HAVE_BACKLIGHT
107#define HAVE_BACKLIGHT_BRIGHTNESS 107#define HAVE_BACKLIGHT_BRIGHTNESS
108 108
109/* Main LCD backlight brightness range and defaults */
110#define MIN_BRIGHTNESS_SETTING 1
111#define MAX_BRIGHTNESS_SETTING 12
112#define DEFAULT_BRIGHTNESS_SETTING 6
113
114/* Which backlight fading type? */
115#define CONFIG_BACKLIGHT_FADING BACKLIGHT_FADING_SW_SETTING
116
109/* define this if the unit uses a scrollwheel for navigation */ 117/* define this if the unit uses a scrollwheel for navigation */
110#define HAVE_SCROLLWHEEL 118#define HAVE_SCROLLWHEEL
111/* define from which rotation speed [degree/sec] on the acceleration starts */ 119/* define from which rotation speed [degree/sec] on the acceleration starts */
@@ -134,12 +142,6 @@
134/** Non-simulator section **/ 142/** Non-simulator section **/
135#ifndef SIMULATOR 143#ifndef SIMULATOR
136 144
137/* define this if the backlight thread is used for fade, not for sim, needs
138 * HAVE_BACKLIGHT_BRIGHTNESS */
139#ifndef BOOTLOADER
140#define USE_BACKLIGHT_SW_FADING
141#endif
142
143/* Define this if you have an AMS AS3525*/ 145/* Define this if you have an AMS AS3525*/
144#define CONFIG_CPU AS3525 146#define CONFIG_CPU AS3525
145 147
@@ -195,13 +197,6 @@
195 197
196#endif /* SIMULATOR */ 198#endif /* SIMULATOR */
197 199
198/** Port-specific settings **/
199
200/* Main LCD backlight brightness range and defaults */
201#define MIN_BRIGHTNESS_SETTING 1
202#define MAX_BRIGHTNESS_SETTING 12
203#define DEFAULT_BRIGHTNESS_SETTING 6
204
205/* Default recording levels */ 200/* Default recording levels */
206#define DEFAULT_REC_MIC_GAIN 23 201#define DEFAULT_REC_MIC_GAIN 23
207#define DEFAULT_REC_LEFT_GAIN 23 202#define DEFAULT_REC_LEFT_GAIN 23