diff options
| author | Peter D'Hoye <peter.dhoye@gmail.com> | 2007-08-13 22:31:11 +0000 |
|---|---|---|
| committer | Peter D'Hoye <peter.dhoye@gmail.com> | 2007-08-13 22:31:11 +0000 |
| commit | a5d4d67763a01f27453ae453c73e2bc4695131f9 (patch) | |
| tree | 4c15a114b24ba96ec7f9096b06051c9d2f55c625 /apps/plugin.c | |
| parent | 07a09041d6ca8c84280e9f9b372e8cc0eeb8166e (diff) | |
| download | rockbox-a5d4d67763a01f27453ae453c73e2bc4695131f9.zip rockbox-a5d4d67763a01f27453ae453c73e2bc4695131f9.tar.gz rockbox-a5d4d67763a01f27453ae453c73e2bc4695131f9.tar.bz2 rockbox-a5d4d67763a01f27453ae453c73e2bc4695131f9.tar.xz | |
Also keep the backlight on in mpegplayer when plugged in. Fixes FS #7584. Created two helper functions for this, because this issue also exists in other plugins (to do). The helper functions are in the pluginlib in helper.[ch], where other common stuff can be put.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14321 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugin.c')
| -rw-r--r-- | apps/plugin.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/plugin.c b/apps/plugin.c index 1935297..9d46ea4 100644 --- a/apps/plugin.c +++ b/apps/plugin.c @@ -132,6 +132,9 @@ static const struct plugin_api rockbox_api = { backlight_on, backlight_off, backlight_set_timeout, +#if CONFIG_CHARGING + backlight_set_timeout_plugged, +#endif gui_syncsplash, #ifdef HAVE_REMOTE_LCD /* remote lcd */ |