diff options
Diffstat (limited to 'firmware/test/fat')
-rw-r--r-- | firmware/test/fat/main.c | 4 |
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 | } |