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-ipodnano.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-ipodnano.h')
-rw-r--r-- | firmware/export/config-ipodnano.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/firmware/export/config-ipodnano.h b/firmware/export/config-ipodnano.h index 8752181bb9..1d82ec4428 100644 --- a/firmware/export/config-ipodnano.h +++ b/firmware/export/config-ipodnano.h | |||
@@ -81,15 +81,14 @@ | |||
81 | /* Define this for LCD backlight available */ | 81 | /* Define this for LCD backlight available */ |
82 | #define HAVE_BACKLIGHT | 82 | #define HAVE_BACKLIGHT |
83 | #define HAVE_BACKLIGHT_BRIGHTNESS | 83 | #define HAVE_BACKLIGHT_BRIGHTNESS |
84 | /* We can fade the backlight by using PWM */ | ||
85 | #define CONFIG_BACKLIGHT_FADING BACKLIGHT_FADING_PWM | ||
84 | 86 | ||
85 | /* Main LCD backlight brightness range and defaults */ | 87 | /* Main LCD backlight brightness range and defaults */ |
86 | #define MIN_BRIGHTNESS_SETTING 1 | 88 | #define MIN_BRIGHTNESS_SETTING 1 |
87 | #define MAX_BRIGHTNESS_SETTING 32 | 89 | #define MAX_BRIGHTNESS_SETTING 32 |
88 | #define DEFAULT_BRIGHTNESS_SETTING 16 | 90 | #define DEFAULT_BRIGHTNESS_SETTING 16 |
89 | 91 | ||
90 | /* We can fade the backlight by using PWM */ | ||
91 | #define HAVE_BACKLIGHT_PWM_FADING | ||
92 | |||
93 | /* define this if the unit uses a scrollwheel for navigation */ | 92 | /* define this if the unit uses a scrollwheel for navigation */ |
94 | #define HAVE_SCROLLWHEEL | 93 | #define HAVE_SCROLLWHEEL |
95 | /* define from which rotation speed [degree/sec] on the acceleration starts */ | 94 | /* define from which rotation speed [degree/sec] on the acceleration starts */ |