summaryrefslogtreecommitdiff
path: root/apps/plugin.c
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2007-11-29 23:55:58 +0000
committerJens Arnold <amiconn@rockbox.org>2007-11-29 23:55:58 +0000
commitbf2a33485fc99d83ef74c261d092f6b95e040a37 (patch)
tree5e387a4f9306d0a91814e98ca6f4c3ff920c8567 /apps/plugin.c
parentfeb75d43c8e06430d90b3d53478884c80fb7305a (diff)
downloadrockbox-bf2a33485fc99d83ef74c261d092f6b95e040a37.zip
rockbox-bf2a33485fc99d83ef74c261d092f6b95e040a37.tar.gz
rockbox-bf2a33485fc99d83ef74c261d092f6b95e040a37.tar.bz2
rockbox-bf2a33485fc99d83ef74c261d092f6b95e040a37.tar.xz
Fix some plugins not using the helper functions for the new backlight timeout handling.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15849 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugin.c')
-rw-r--r--apps/plugin.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/apps/plugin.c b/apps/plugin.c
index 9b620b1..9067097 100644
--- a/apps/plugin.c
+++ b/apps/plugin.c
@@ -525,6 +525,13 @@ static const struct plugin_api rockbox_api = {
file_exists,
dir_exists,
+
+#ifdef HAVE_REMOTE_LCD
+ remote_backlight_set_timeout,
+#if CONFIG_CHARGING
+ remote_backlight_set_timeout_plugged,
+#endif
+#endif /* HAVE_REMOTE_LCD */
};
int plugin_load(const char* plugin, void* parameter)