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-fuze.h | |
parent | 4e1b7bf7286c3994e34ca11f740a2165d9b5a001 (diff) |
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.h | 21 |
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 @@ #define HAVE_BACKLIGHT #define HAVE_BACKLIGHT_BRIGHTNESS +/* Main LCD backlight brightness range and defaults */ +#define MIN_BRIGHTNESS_SETTING 1 +#define MAX_BRIGHTNESS_SETTING 12 +#define DEFAULT_BRIGHTNESS_SETTING 6 + +/* Which backlight fading type? */ +#define CONFIG_BACKLIGHT_FADING BACKLIGHT_FADING_SW_SETTING + /* define this if the unit uses a scrollwheel for navigation */ #define HAVE_SCROLLWHEEL /* define from which rotation speed [degree/sec] on the acceleration starts */ @@ -134,12 +142,6 @@ /** Non-simulator section **/ #ifndef SIMULATOR -/* define this if the backlight thread is used for fade, not for sim, needs - * HAVE_BACKLIGHT_BRIGHTNESS */ -#ifndef BOOTLOADER -#define USE_BACKLIGHT_SW_FADING -#endif - /* Define this if you have an AMS AS3525*/ #define CONFIG_CPU AS3525 @@ -195,13 +197,6 @@ #endif /* SIMULATOR */ -/** Port-specific settings **/ - -/* Main LCD backlight brightness range and defaults */ -#define MIN_BRIGHTNESS_SETTING 1 -#define MAX_BRIGHTNESS_SETTING 12 -#define DEFAULT_BRIGHTNESS_SETTING 6 - /* Default recording levels */ #define DEFAULT_REC_MIC_GAIN 23 #define DEFAULT_REC_LEFT_GAIN 23 |