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:
Frank Gevaerts 2009-07-17 22:39:41 +00:00
parent c0a5a67387
commit 92a7418415

View file

@ -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)