diff options
| author | Peter D'Hoye <peter.dhoye@gmail.com> | 2008-05-08 21:23:31 +0000 |
|---|---|---|
| committer | Peter D'Hoye <peter.dhoye@gmail.com> | 2008-05-08 21:23:31 +0000 |
| commit | 21a373388833b8f4f7284cff16d48cab7857de2f (patch) | |
| tree | 65b423f62c89a66ec7d408121d2be2087a7093fe /apps/plugin.c | |
| parent | 7835a203473cff4255c1703349fd42ce08b61a46 (diff) | |
| download | rockbox-21a373388833b8f4f7284cff16d48cab7857de2f.zip rockbox-21a373388833b8f4f7284cff16d48cab7857de2f.tar.gz rockbox-21a373388833b8f4f7284cff16d48cab7857de2f.tar.bz2 rockbox-21a373388833b8f4f7284cff16d48cab7857de2f.tar.xz | |
Lamp plugin: accept the reduced patch of FS #8934 by Alexander Papst
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17425 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugin.c')
| -rw-r--r-- | apps/plugin.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/apps/plugin.c b/apps/plugin.c index 6c6be90..230013e 100644 --- a/apps/plugin.c +++ b/apps/plugin.c @@ -590,6 +590,14 @@ static const struct plugin_api rockbox_api = { #ifdef HAVE_TOUCHPAD touchpad_set_mode, #endif /* HAVE_TOUCHPAD */ +#ifdef HAVE_BUTTON_LIGHT + buttonlight_set_timeout, + buttonlight_off, + buttonlight_on, +#ifdef HAVE_BUTTONLIGHT_BRIGHTNESS + buttonlight_set_brightness, +#endif /* HAVE_BUTTONLIGHT_BRIGHTNESS */ +#endif /* HAVE_BUTTON_LIGHT */ }; int plugin_load(const char* plugin, void* parameter) |