From 3d8343e46408a73b7d1d71d25449709a0bdfb152 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Thu, 6 Jan 2011 10:56:51 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2595 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- demos/ARMCM3-STM32F103-FATFS-GCC/main.c | 5 +---- 1 file changed, 1 insertion(+), 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. -- cgit v1.2.3