diff options
author | Linus Nielsen Feltzing <linus@haxx.se> | 2004-06-22 07:16:31 +0000 |
---|---|---|
committer | Linus Nielsen Feltzing <linus@haxx.se> | 2004-06-22 07:16:31 +0000 |
commit | e61f6fa5995780054760b44b35ef4f4d4a35afed (patch) | |
tree | 15c6088c7ec50acbcd807cbff555399108281ad1 /apps/plugin.c | |
parent | 0907631464198e30235e1c628ba630bb73c498d2 (diff) | |
download | rockbox-e61f6fa5995780054760b44b35ef4f4d4a35afed.tar.gz rockbox-e61f6fa5995780054760b44b35ef4f4d4a35afed.zip |
Added reset_poweroff_timer(), which can be used to prevent idle poweroff. This is also available in the plugin API.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4787 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugin.c')
-rw-r--r-- | apps/plugin.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/plugin.c b/apps/plugin.c index a990463b8c..b7646c021d 100644 --- a/apps/plugin.c +++ b/apps/plugin.c @@ -240,6 +240,8 @@ static struct plugin_api rockbox_api = { #ifdef HAVE_LCD_CHARCELLS lcd_icon, #endif + + reset_poweroff_timer, }; int plugin_load(char* plugin, void* parameter) |