summaryrefslogtreecommitdiff
path: root/firmware/target/arm/usb-fw-pp502x.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2007-11-26 23:13:35 +0000
committerDaniel Stenberg <daniel@haxx.se>2007-11-26 23:13:35 +0000
commit5d2757a43f3d6d0ffc4bee954f2f51bda600e345 (patch)
tree7fdb40fccaa08eb0fa5071279b321cbca37ab13a /firmware/target/arm/usb-fw-pp502x.c
parent09a786138c051a07c4eb16b2689faa020a9a5f34 (diff)
Enable reboot on USB-insert for e200, as it works when done c200-style
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15818 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/usb-fw-pp502x.c')
-rw-r--r--firmware/target/arm/usb-fw-pp502x.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/firmware/target/arm/usb-fw-pp502x.c b/firmware/target/arm/usb-fw-pp502x.c
index 84526c6863..7af699c064 100644
--- a/firmware/target/arm/usb-fw-pp502x.c
+++ b/firmware/target/arm/usb-fw-pp502x.c
@@ -57,7 +57,6 @@ void usb_init_device(void)
void usb_enable(bool on)
{
if (on) {
-#ifndef SANSA_E200
/* until we have native mass-storage mode, we want to reboot on
usb host connect */
#if defined(IRIVER_H10) || defined (IRIVER_H10_5GB)
@@ -79,7 +78,6 @@ void usb_enable(bool on)
system_reboot(); /* Reboot */
}
-#endif /* SANSA_E200 */
}
else
usb_core_exit();