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/backlight.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/backlight.h')
-rw-r--r-- | firmware/export/backlight.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/firmware/export/backlight.h b/firmware/export/backlight.h index cb081a5301..f215e0faea 100644 --- a/firmware/export/backlight.h +++ b/firmware/export/backlight.h | |||
@@ -34,12 +34,10 @@ void backlight_close(void); | |||
34 | 34 | ||
35 | int backlight_get_current_timeout(void); | 35 | int backlight_get_current_timeout(void); |
36 | 36 | ||
37 | #if defined(HAVE_BACKLIGHT_PWM_FADING) | 37 | #if defined(HAVE_BACKLIGHT_FADING_INT_SETTING) |
38 | void backlight_set_fade_in(int value); | 38 | void backlight_set_fade_in(int value); |
39 | void backlight_set_fade_out(int value); | 39 | void backlight_set_fade_out(int value); |
40 | #endif | 40 | #elif defined(HAVE_BACKLIGHT_FADING_BOOL_SETTING) |
41 | #if defined(USE_BACKLIGHT_SW_FADING) \ | ||
42 | || defined(USE_BACKLIGHT_CUSTOM_FADING_BOOL) | ||
43 | void backlight_set_fade_in(bool value); | 41 | void backlight_set_fade_in(bool value); |
44 | void backlight_set_fade_out(bool value); | 42 | void backlight_set_fade_out(bool value); |
45 | #endif | 43 | #endif |