summaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
authorBjörn Stenberg <bjorn@haxx.se>2007-11-23 00:29:16 +0000
committerBjörn Stenberg <bjorn@haxx.se>2007-11-23 00:29:16 +0000
commite8fd3dd28ae11e7b279b707231a9e0302dd7afbe (patch)
tree97668f156bd4849177deeeefa4bc0efcd5c23616 /firmware
parenta561abf07ba855be2a770e6db7168fbbdefe8bd4 (diff)
Bad fix, reverting.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15766 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
-rw-r--r--firmware/target/arm/usb-fw-pp502x.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/firmware/target/arm/usb-fw-pp502x.c b/firmware/target/arm/usb-fw-pp502x.c
index 07cf8c657a..7ee18287ca 100644
--- a/firmware/target/arm/usb-fw-pp502x.c
+++ b/firmware/target/arm/usb-fw-pp502x.c
@@ -29,8 +29,8 @@
#include "string.h"
#ifdef HAVE_USBSTACK
#include "usb_core.h"
-#endif
#include "usb_drv.h"
+#endif
void usb_init_device(void)
{
@@ -118,8 +118,5 @@ int usb_detect(void)
return USB_INSERTED;
#endif
- if (usb_drv_powered())
- return USB_INSERTED;
-
return USB_EXTRACTED;
}