From 09b2e9df7a4bb38a1270d911723bf3fe783c7685 Mon Sep 17 00:00:00 2001 From: raiden00pl Date: Mon, 3 Apr 2023 16:06:46 +0200 Subject: [PATCH] stm32f4discovery/stm32_mmcsd.c: remove redundant SCK pin configuration, it's already selected in board.h --- boards/arm/stm32/stm32f4discovery/src/stm32_mmcsd.c | 1 - 1 file changed, 1 deletion(-) 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 */