1
0
Fork 0
forked from len0rd/rockbox

Recent fix "Prevent the click of death when connecting an ipod to usb." is useful for the H10 also.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11660 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Barry Wardell 2006-12-05 01:22:05 +00:00
parent ef3e129b65
commit 82cdc6914d

View file

@ -51,6 +51,8 @@ void usb_enable(bool on)
* bootloader can start up in UMS mode. This does not return. */
if (on && (button_status()==BUTTON_RIGHT))
{
ata_sleepnow(); /* Immediately spindown the disk. */
sleep(HZ*2);
system_reboot();
}
}