summaryrefslogtreecommitdiff
path: root/firmware/export/config-cowond2.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-cowond2.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-cowond2.h')
-rw-r--r--firmware/export/config-cowond2.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/firmware/export/config-cowond2.h b/firmware/export/config-cowond2.h
index edeb834ef7..2b3b09cb09 100644
--- a/firmware/export/config-cowond2.h
+++ b/firmware/export/config-cowond2.h
@@ -108,9 +108,10 @@
108 108
109/* Define this for LCD backlight available */ 109/* Define this for LCD backlight available */
110#define HAVE_BACKLIGHT 110#define HAVE_BACKLIGHT
111
112/* Enable LCD brightness control */ 111/* Enable LCD brightness control */
113#define HAVE_BACKLIGHT_BRIGHTNESS 112#define HAVE_BACKLIGHT_BRIGHTNESS
113/* Which backlight fading type? */
114#define CONFIG_BACKLIGHT_FADING BACKLIGHT_FADING_SW_HW_REG
114 115
115/* Main LCD backlight brightness range and defaults */ 116/* Main LCD backlight brightness range and defaults */
116#define MIN_BRIGHTNESS_SETTING 1 117#define MIN_BRIGHTNESS_SETTING 1
@@ -129,13 +130,6 @@
129#define CONFIG_CHARGING CHARGING_SIMPLE 130#define CONFIG_CHARGING CHARGING_SIMPLE
130 131
131#ifndef SIMULATOR 132#ifndef SIMULATOR
132
133/* define this if the backlight thread is used for fade, not for sim, needs
134 * HAVE_BACKLIGHT_BRIGHTNESS */
135#ifndef BOOTLOADER
136#define USE_BACKLIGHT_SW_FADING
137#endif
138
139/* Define this if you have a TCC7801 */ 133/* Define this if you have a TCC7801 */
140#define CONFIG_CPU TCC7801 134#define CONFIG_CPU TCC7801
141 135