diff options
author | Hristo Kovachev <bger@rockbox.org> | 2006-01-25 18:29:56 +0000 |
---|---|---|
committer | Hristo Kovachev <bger@rockbox.org> | 2006-01-25 18:29:56 +0000 |
commit | 495c63f867a35ac2e6aab92a530a46b3ef5143b1 (patch) | |
tree | 24c4188728a3e1c5196506eab29978f5e5c4ac49 /apps/plugin.c | |
parent | 4781f1461fd7d3f91bea4ff84ca20b5e58ff53e3 (diff) |
New "battery benchmark" plugin by Alexander Spyridakis, modified a bit by me
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8451 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugin.c')
-rw-r--r-- | apps/plugin.c | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/apps/plugin.c b/apps/plugin.c index b907604528..8b47af7e02 100644 --- a/apps/plugin.c +++ b/apps/plugin.c @@ -28,6 +28,7 @@ #include "dir.h" #include "file.h" #include "kernel.h" +#include "usb.h" #include "sprintf.h" #include "logf.h" #include "screens.h" @@ -369,7 +370,16 @@ static const struct plugin_api rockbox_api = { profile_func_enter, profile_func_exit, #endif - + battery_time, +#ifndef SIMULATOR + ata_disk_is_active, + battery_voltage, +#endif + queue_init, + queue_delete, + queue_post, + queue_wait_w_tmo, + usb_acknowledge, }; int plugin_load(const char* plugin, void* parameter) |