diff options
Diffstat (limited to 'firmware/test')
-rw-r--r-- | firmware/test/fat/main.c | 4 | ||||
-rw-r--r-- | firmware/test/i2c/main.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/firmware/test/fat/main.c b/firmware/test/fat/main.c index 9fd150429f..e190d81045 100644 --- a/firmware/test/fat/main.c +++ b/firmware/test/fat/main.c | |||
@@ -696,7 +696,7 @@ int main(int argc, char *argv[]) | |||
696 | #endif | 696 | #endif |
697 | ) { | 697 | ) { |
698 | DEBUGF("*** Mounting at block %ld\n",pinfo[i].start); | 698 | DEBUGF("*** Mounting at block %ld\n",pinfo[i].start); |
699 | rc = fat_mount(IF_MV2(0,) IF_MV2(0,) pinfo[i].start); | 699 | rc = fat_mount(IF_MV2(0,) IF_MD2(0,) pinfo[i].start); |
700 | if(rc) { | 700 | if(rc) { |
701 | DEBUGF("mount: %d",rc); | 701 | DEBUGF("mount: %d",rc); |
702 | return -1; | 702 | return -1; |
@@ -705,7 +705,7 @@ int main(int argc, char *argv[]) | |||
705 | } | 705 | } |
706 | } | 706 | } |
707 | if ( i==4 ) { | 707 | if ( i==4 ) { |
708 | if(fat_mount(IF_MV2(0,) IF_MV2(0,) 0)) { | 708 | if(fat_mount(IF_MV2(0,) IF_MD2(0,) 0)) { |
709 | DEBUGF("No FAT32 partition!"); | 709 | DEBUGF("No FAT32 partition!"); |
710 | return -1; | 710 | return -1; |
711 | } | 711 | } |
diff --git a/firmware/test/i2c/main.c b/firmware/test/i2c/main.c index f4540e4959..ad0f8efcbd 100644 --- a/firmware/test/i2c/main.c +++ b/firmware/test/i2c/main.c | |||
@@ -642,7 +642,7 @@ int main(void) | |||
642 | 642 | ||
643 | 643 | ||
644 | 644 | ||
645 | i = fat_mount(IF_MV2(0,) IF_MV2(0,) part[0].start); | 645 | i = fat_mount(IF_MV2(0,) IF_MD2(0,) part[0].start); |
646 | 646 | ||
647 | debugf("fat_mount() returned %d\n", i); | 647 | debugf("fat_mount() returned %d\n", i); |
648 | 648 | ||