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-sw-fading.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-sw-fading.h')
-rw-r--r-- | firmware/export/backlight-sw-fading.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/firmware/export/backlight-sw-fading.h b/firmware/export/backlight-sw-fading.h index 54f732709a..8527fd0f99 100644 --- a/firmware/export/backlight-sw-fading.h +++ b/firmware/export/backlight-sw-fading.h | |||
@@ -22,10 +22,6 @@ | |||
22 | #ifndef BACKLIGHT_THREAD_FADING_H | 22 | #ifndef BACKLIGHT_THREAD_FADING_H |
23 | #define BACKLIGHT_THREAD_FADING_H | 23 | #define BACKLIGHT_THREAD_FADING_H |
24 | 24 | ||
25 | #include "config.h" | ||
26 | |||
27 | #ifdef USE_BACKLIGHT_SW_FADING | ||
28 | |||
29 | /* delay supposed to be MAX_BRIGHTNESS_SETTING*2 rounded to the next multiple | 25 | /* delay supposed to be MAX_BRIGHTNESS_SETTING*2 rounded to the next multiple |
30 | * of 5, however not more than 40 */ | 26 | * of 5, however not more than 40 */ |
31 | #define _FADE_DELAY (((MAX_BRIGHTNESS_SETTING*2+4)/5)*5) | 27 | #define _FADE_DELAY (((MAX_BRIGHTNESS_SETTING*2+4)/5)*5) |
@@ -41,6 +37,5 @@ enum { | |||
41 | FADING_UP, | 37 | FADING_UP, |
42 | FADING_DOWN, | 38 | FADING_DOWN, |
43 | }; | 39 | }; |
44 | #endif /* USE_BACKLIGHT_SW_FADING */ | ||
45 | 40 | ||
46 | #endif /* _BACKLIGHT_THREAD_FADING_ */ | 41 | #endif /* _BACKLIGHT_THREAD_FADING_ */ |