diff --git a/boards/arm/stm32/stm32f4discovery/src/stm32_mmcsd.c b/boards/arm/stm32/stm32f4discovery/src/stm32_mmcsd.c index 7815a7fc4b..2d2f71d45e 100644 --- a/boards/arm/stm32/stm32f4discovery/src/stm32_mmcsd.c +++ b/boards/arm/stm32/stm32f4discovery/src/stm32_mmcsd.c @@ -78,7 +78,6 @@ int stm32_mmcsd_initialize(int port, int minor) int rv; stm32_configgpio(GPIO_MMCSD_NCD); /* Assign SD_DET */ - stm32_configgpio(GPIO_SPI2_SCK_2); /* Assign PB13 as SPI2_SCK */ stm32_configgpio(GPIO_MMCSD_NSS); /* Assign CS */ stm32_gpiowrite(GPIO_MMCSD_NSS, 1); /* Ensure the CS is inactive */