summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2007-03-26 10:14:32 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2007-03-26 10:14:32 +0000
commit21c930310c8d9aa72f9718289c18ef0ec39ad2fb (patch)
tree06a217a7703deff90bb25246f445aa73df350f91
parent73c46ffd6ebabbf926510952bbcdf1fa7c0591ff (diff)
woops, used the wrong define
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12920 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/plugins/lib/playback_control.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/lib/playback_control.c b/apps/plugins/lib/playback_control.c
index 672d275bcc..34401e1d4f 100644
--- a/apps/plugins/lib/playback_control.c
+++ b/apps/plugins/lib/playback_control.c
@@ -124,5 +124,5 @@ void playback_control_init(struct plugin_api* newapi)
bool playback_control(struct plugin_api* newapi)
{
api = newapi;
- return api->do_menu(&playback_control_menu, NULL) == SYS_USB_CONNECTED;
+ return api->do_menu(&playback_control_menu, NULL) == MENU_ATTACHED_USB;
}