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:
parent
5979d78988
commit
d1f22a4e86
1 changed files with 2 additions and 0 deletions
|
|
@ -57,6 +57,7 @@ void usb_init_device(void)
|
||||||
void usb_enable(bool on)
|
void usb_enable(bool on)
|
||||||
{
|
{
|
||||||
if (on) {
|
if (on) {
|
||||||
|
#ifndef SANSA_E200
|
||||||
/* until we have native mass-storage mode, we want to reboot on
|
/* until we have native mass-storage mode, we want to reboot on
|
||||||
usb host connect */
|
usb host connect */
|
||||||
#if defined(IRIVER_H10) || defined (IRIVER_H10_5GB)
|
#if defined(IRIVER_H10) || defined (IRIVER_H10_5GB)
|
||||||
|
|
@ -78,6 +79,7 @@ void usb_enable(bool on)
|
||||||
|
|
||||||
system_reboot(); /* Reboot */
|
system_reboot(); /* Reboot */
|
||||||
}
|
}
|
||||||
|
#endif /* SANSA_E200 */
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
usb_core_exit();
|
usb_core_exit();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue