stm32f4discovery/stm32_mmcsd.c: remove redundant SCK pin configuration, it's already selected in board.h

This commit is contained in:
raiden00pl
2023-04-03 16:06:46 +02:00
committed by Xiang Xiao
parent fbf1e859ee
commit 09b2e9df7a
@@ -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 */