1
0
Fork 0
forked from len0rd/rockbox

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
This commit is contained in:
Daniel Stenberg 2007-11-26 23:13:35 +00:00
parent 09a786138c
commit 5d2757a43f
2 changed files with 1 additions and 3 deletions

View file

@ -332,7 +332,7 @@ void system_init(void)
void system_reboot(void)
{
/* Reboot */
#ifdef SANSA_C200
#if defined(SANSA_E200) || defined(SANSA_C200)
CACHE_CTL &= ~CACHE_CTL_VECT_REMAP;
pp_i2c_send(AS3514_I2C_ADDR, DCDC15, 0x0); /* backlight off */

View file

@ -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();