forked from len0rd/rockbox
Accept FS #8285 - "Flashlight" plugin by Vuong Minh Hiep, Thomas Martitz and Alexander Papst
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17226 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
a616c4851a
commit
39718e3585
5 changed files with 235 additions and 2 deletions
|
|
@ -141,6 +141,7 @@ static const struct plugin_api rockbox_api = {
|
|||
backlight_on,
|
||||
backlight_off,
|
||||
backlight_set_timeout,
|
||||
|
||||
#if CONFIG_CHARGING
|
||||
backlight_set_timeout_plugged,
|
||||
#endif
|
||||
|
|
@ -577,6 +578,10 @@ static const struct plugin_api rockbox_api = {
|
|||
/* new stuff at the end, sort into place next time
|
||||
the API gets incompatible */
|
||||
|
||||
#ifdef HAVE_BACKLIGHT_BRIGHTNESS
|
||||
backlight_set_brightness,
|
||||
#endif /* HAVE_BACKLIGHT_BRIGHTNESS */
|
||||
|
||||
};
|
||||
|
||||
int plugin_load(const char* plugin, void* parameter)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue