1
0
Fork 0
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:
Rafaël Carré 2009-07-17 00:09:14 +00:00
parent 20f8666b89
commit 8eba69f91b
15 changed files with 29 additions and 97 deletions

View file

@ -173,7 +173,9 @@ void load_settings(void){
draw_message(display, MESSAGE_ERRLOAD, 1);
display->update();
}
#ifdef HAVE_DISK_STORAGE
rb->storage_sleep();
#endif
rb->sleep(HZ);
}