Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/thirdpin/libopencm3.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/stm32/common/sdio_common_all.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/stm32/common/sdio_common_all.c b/lib/stm32/common/sdio_common_all.c
index 47ffe72c..e1590b8c 100644
--- a/lib/stm32/common/sdio_common_all.c
+++ b/lib/stm32/common/sdio_common_all.c
@@ -3,7 +3,9 @@
void sdio_deinit()
{
+#ifndef STM32F1
rcc_periph_reset_pulse(RST_SDIO);
+#endif
}
void sdio_config(SDIO_config *config)