forked from len0rd/rockbox
Storage API : remove undeeded target-specific functions
storage_sleep, storage_spin, storage_spindown are only defined if #defiend (HAVE_DISK_STORAGE), not for MMC/ATA/SD remove already unneeded nand_disk_is_active, nand_soft_reset git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21912 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
20f8666b89
commit
8eba69f91b
15 changed files with 29 additions and 97 deletions
|
@ -1038,7 +1038,9 @@ int load_and_show(char* filename)
|
|||
else if(immediate_ata_off)
|
||||
{
|
||||
/* running slideshow and time is long enough: power down disk */
|
||||
#ifdef HAVE_DISK_STORAGE
|
||||
rb->storage_sleep();
|
||||
#endif
|
||||
}
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue