forked from len0rd/rockbox
fix booboo in ata.c (SYS_POWEROFF falling into SYS_USB_CONNECTED)
enable ata_idle callbacks in ata_mmc.c (calls the callbacks after 10s of real inactivity) fix builds git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11462 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
f184152c05
commit
d9f7ac24f4
6 changed files with 28 additions and 6 deletions
|
|
@ -1375,6 +1375,8 @@ static void ata_thread(void)
|
|||
queue_wait(&ata_queue, &ev);
|
||||
switch ( ev.id ) {
|
||||
case SYS_POWEROFF:
|
||||
call_ata_idle_notifys(false);
|
||||
break;
|
||||
case SYS_USB_CONNECTED:
|
||||
call_ata_idle_notifys(false);
|
||||
#ifndef USB_NONE
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue