From a5d4d67763a01f27453ae453c73e2bc4695131f9 Mon Sep 17 00:00:00 2001 From: Peter D'Hoye Date: Mon, 13 Aug 2007 22:31:11 +0000 Subject: 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 --- apps/plugin.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'apps/plugin.c') 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 */ -- cgit v1.1