1
0
Fork 0
forked from len0rd/rockbox

Disabling usb reboot for Sansa E200 until system_reboot() is fixed.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15810 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Björn Stenberg 2007-11-26 10:20:28 +00:00
parent 5979d78988
commit d1f22a4e86

View file

@ -57,6 +57,7 @@ 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)
@ -78,6 +79,7 @@ void usb_enable(bool on)
system_reboot(); /* Reboot */
}
#endif /* SANSA_E200 */
}
else
usb_core_exit();