summaryrefslogtreecommitdiff
path: root/firmware/test/fat/main.c
diff options
context:
space:
mode:
authorJörg Hohensohn <hohensoh@rockbox.org>2004-12-28 22:16:07 +0000
committerJörg Hohensohn <hohensoh@rockbox.org>2004-12-28 22:16:07 +0000
commitda848576312800dc229624e928d132d0702c1854 (patch)
tree38cd01b8a9c1069a1de734e0f7eb478436715573 /firmware/test/fat/main.c
parentae45d970d874217b779071b414dcd5edbf5647da (diff)
downloadrockbox-da848576312800dc229624e928d132d0702c1854.tar.gz
rockbox-da848576312800dc229624e928d132d0702c1854.zip
prepared to mount multiple partitions into one logical file system (most useful for Ondio, internal memory + external MMC)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5514 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/test/fat/main.c')
-rw-r--r--firmware/test/fat/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/test/fat/main.c b/firmware/test/fat/main.c
index 5607414bcb..5420199f92 100644
--- a/firmware/test/fat/main.c
+++ b/firmware/test/fat/main.c
@@ -677,7 +677,7 @@ int main(int argc, char *argv[])
677#endif 677#endif
678 ) { 678 ) {
679 DEBUGF("*** Mounting at block %ld\n",pinfo[i].start); 679 DEBUGF("*** Mounting at block %ld\n",pinfo[i].start);
680 rc = fat_mount(pinfo[i].start); 680 rc = fat_mount(IF_MV2(0,) IF_MV2(0,) pinfo[i].start);
681 if(rc) { 681 if(rc) {
682 DEBUGF("mount: %d",rc); 682 DEBUGF("mount: %d",rc);
683 return -1; 683 return -1;
@@ -686,7 +686,7 @@ int main(int argc, char *argv[])
686 } 686 }
687 } 687 }
688 if ( i==4 ) { 688 if ( i==4 ) {
689 if(fat_mount(0)) { 689 if(fat_mount(IF_MV2(0,) IF_MV2(0,) 0)) {
690 DEBUGF("No FAT32 partition!"); 690 DEBUGF("No FAT32 partition!");
691 return -1; 691 return -1;
692 } 692 }