diff options
author | Michael Sevakis <jethead71@rockbox.org> | 2006-11-10 19:03:02 +0000 |
---|---|---|
committer | Michael Sevakis <jethead71@rockbox.org> | 2006-11-10 19:03:02 +0000 |
commit | 270cb0b68172c740820f772563e66a79308e641e (patch) | |
tree | c4d978b24ec1d73a90e799b3b6dd4781d44b9fe9 | |
parent | 58825f6e7391a237be85e63bee08f7a0bb66dc38 (diff) | |
download | rockbox-270cb0b68172c740820f772563e66a79308e641e.tar.gz rockbox-270cb0b68172c740820f772563e66a79308e641e.zip |
Fix sim error(s) (as usual).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11503 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r-- | firmware/backlight.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/firmware/backlight.c b/firmware/backlight.c index bc692b1675..c7d1add605 100644 --- a/firmware/backlight.c +++ b/firmware/backlight.c | |||
@@ -51,6 +51,14 @@ static inline void __backlight_off(void) | |||
51 | { | 51 | { |
52 | sim_backlight(0); | 52 | sim_backlight(0); |
53 | } | 53 | } |
54 | |||
55 | #ifdef HAVE_BACKLIGHT_BRIGHTNESS | ||
56 | static inline void __backlight_set_brightness(int val) | ||
57 | { | ||
58 | (void)val; | ||
59 | } | ||
60 | #endif | ||
61 | |||
54 | #else | 62 | #else |
55 | /* Basic low-level code that simply switches backlight on or off. Probably | 63 | /* Basic low-level code that simply switches backlight on or off. Probably |
56 | * a nice candidate for inclusion in the target/ dir. */ | 64 | * a nice candidate for inclusion in the target/ dir. */ |