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) |
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) { sim_backlight(0); } + +#ifdef HAVE_BACKLIGHT_BRIGHTNESS +static inline void __backlight_set_brightness(int val) +{ + (void)val; +} +#endif + #else /* Basic low-level code that simply switches backlight on or off. Probably * a nice candidate for inclusion in the target/ dir. */ |