summaryrefslogtreecommitdiff
path: root/apps/plugin.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugin.c')
-rw-r--r--apps/plugin.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/apps/plugin.c b/apps/plugin.c
index 8a6c577..c6b9744 100644
--- a/apps/plugin.c
+++ b/apps/plugin.c
@@ -712,9 +712,7 @@ static const struct plugin_api rockbox_api = {
charging_state,
# endif
#endif
-#ifdef HAVE_USB_POWER
- usb_powered,
-#endif
+ usb_inserted,
/* misc */
#if (CONFIG_PLATFORM & PLATFORM_NATIVE)