diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2011-01-06 10:56:51 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2011-01-06 10:56:51 +0000 |
commit | 3d8343e46408a73b7d1d71d25449709a0bdfb152 (patch) | |
tree | d5afcc90bb09c4de87965ebb07cb4a65f7eeaecd /demos | |
parent | 7799821b6e4f7c499eac4abc5e50028716da21f1 (diff) | |
download | ChibiOS-3d8343e46408a73b7d1d71d25449709a0bdfb152.tar.gz ChibiOS-3d8343e46408a73b7d1d71d25449709a0bdfb152.tar.bz2 ChibiOS-3d8343e46408a73b7d1d71d25449709a0bdfb152.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2595 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'demos')
-rw-r--r-- | demos/ARMCM3-STM32F103-FATFS-GCC/main.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/demos/ARMCM3-STM32F103-FATFS-GCC/main.c b/demos/ARMCM3-STM32F103-FATFS-GCC/main.c index 58a966278..eb314d6ad 100644 --- a/demos/ARMCM3-STM32F103-FATFS-GCC/main.c +++ b/demos/ARMCM3-STM32F103-FATFS-GCC/main.c @@ -52,9 +52,6 @@ static SPIConfig hs_spicfg = {NULL, IOPORT2, GPIOB_SPI2NSS, 0}; static SPIConfig ls_spicfg = {NULL, IOPORT2, GPIOB_SPI2NSS,
SPI_CR1_BR_2 | SPI_CR1_BR_1};
-/* MMC configuration (empty).*/
-static const MMCConfig mmc_cfg = {};
-
/* Card insertion verification.*/
static bool_t mmc_is_inserted(void) {return palReadPad(IOPORT3, GPIOC_MMCCP);}
@@ -302,7 +299,7 @@ int main(void) { mmcObjectInit(&MMCD1, &SPID2,
&ls_spicfg, &hs_spicfg,
mmc_is_protected, mmc_is_inserted);
- mmcStart(&MMCD1, &mmc_cfg);
+ mmcStart(&MMCD1, NULL);
/*
* Creates the blinker thread.
|