diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2010-10-23 11:51:19 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2010-10-23 11:51:19 +0000 |
commit | 66f21d9c87a9916e6737dc3de617c5496c1ea160 (patch) | |
tree | aae676e2a896df83aaa2841571a0cdfbeaf9e52a /demos | |
parent | bb0f6c9e9a3b4d2ffcb89c7f661c94a51f192dd3 (diff) | |
download | ChibiOS-66f21d9c87a9916e6737dc3de617c5496c1ea160.tar.gz ChibiOS-66f21d9c87a9916e6737dc3de617c5496c1ea160.tar.bz2 ChibiOS-66f21d9c87a9916e6737dc3de617c5496c1ea160.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2270 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'demos')
-rw-r--r-- | demos/ARM7-AT91SAM7X-FATFS-GCC/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/ARM7-AT91SAM7X-FATFS-GCC/main.c b/demos/ARM7-AT91SAM7X-FATFS-GCC/main.c index 9cc9221a3..3e02fff74 100644 --- a/demos/ARM7-AT91SAM7X-FATFS-GCC/main.c +++ b/demos/ARM7-AT91SAM7X-FATFS-GCC/main.c @@ -303,7 +303,7 @@ int main(int argc, char **argv) { */
palSetPadMode(IOPORT1, PIOA_CS_MMC, PAL_MODE_OUTPUT_PUSHPULL);
palSetPad(IOPORT1, PIOA_CS_MMC);
- mmcObjectInit(&MMCD1, &SPID,
+ mmcObjectInit(&MMCD1, &SPID1,
&ls_spicfg, &hs_spicfg,
mmc_is_protected, mmc_is_inserted);
mmcStart(&MMCD1, &mmc_cfg);
|