don't try to call nand_soft_reset() or nand_disk_is_active(), they don't exist
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21934 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
c0a5a67387
commit
92a7418415
1 changed files with 3 additions and 3 deletions
|
@ -256,7 +256,7 @@ bool storage_disk_is_active(void)
|
|||
#endif
|
||||
|
||||
#if (CONFIG_STORAGE & STORAGE_NAND)
|
||||
if (nand_disk_is_active()) return true;
|
||||
//if (nand_disk_is_active()) return true;
|
||||
#endif
|
||||
|
||||
#if (CONFIG_STORAGE & STORAGE_RAMDISK)
|
||||
|
@ -283,14 +283,14 @@ int storage_soft_reset(void)
|
|||
#endif
|
||||
|
||||
#if (CONFIG_STORAGE & STORAGE_NAND)
|
||||
if ((rc=nand_soft_reset())) return rc;
|
||||
//if ((rc=nand_soft_reset())) return rc;
|
||||
#endif
|
||||
|
||||
#if (CONFIG_STORAGE & STORAGE_RAMDISK)
|
||||
if ((rc=ramdisk_soft_reset())) return rc;
|
||||
#endif
|
||||
|
||||
return 0;
|
||||
return rc;
|
||||
}
|
||||
|
||||
void storage_spin(void)
|
||||
|
|
Loading…
Reference in a new issue