From a06ca80f8eb346cda388438a8c48ebd9dcb31af2 Mon Sep 17 00:00:00 2001
From: Terraneo Federico <fede.tft@miosix.org>
Date: Sun, 28 Oct 2018 01:16:58 +0200
Subject: [PATCH] Fic for new bsp

---
 .../stm32f103cx_generic/interfaces-impl/bsp.cpp               | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/miosix/arch/cortexM3_stm32/stm32f103cx_generic/interfaces-impl/bsp.cpp b/miosix/arch/cortexM3_stm32/stm32f103cx_generic/interfaces-impl/bsp.cpp
index 0c92ed31..6f7a2743 100644
--- a/miosix/arch/cortexM3_stm32/stm32f103cx_generic/interfaces-impl/bsp.cpp
+++ b/miosix/arch/cortexM3_stm32/stm32f103cx_generic/interfaces-impl/bsp.cpp
@@ -51,10 +51,10 @@ namespace miosix {
 
 void IRQbspInit()
 {
-    //Enable all gpios, as well as AFIO, SPI1, TIM3
+    //Enable all gpios, as well as AFIO
     RCC->APB2ENR |= RCC_APB2ENR_IOPAEN | RCC_APB2ENR_IOPBEN |
                     RCC_APB2ENR_IOPCEN | RCC_APB2ENR_IOPDEN |
-                    RCC_APB2ENR_AFIOEN | RCC_APB2ENR_SPI1EN;
+                    RCC_APB2ENR_AFIOEN;
     RCC->APB1ENR |= RCC_APB1ENR_PWREN;
     RCC_SYNC();
 
-- 
GitLab