From 2cc3a50c0178ed4c574d3da3888d6e6c3f87817c Mon Sep 17 00:00:00 2001 From: Dominic Clifton Date: Fri, 25 Apr 2014 12:10:51 +0100 Subject: [PATCH] Avoid calling SetSysClock twice. --- lib/CMSIS/CM1/DeviceSupport/ST/STM32F30x/system_stm32f30x.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/CMSIS/CM1/DeviceSupport/ST/STM32F30x/system_stm32f30x.c b/lib/CMSIS/CM1/DeviceSupport/ST/STM32F30x/system_stm32f30x.c index aadf1bd073..8dd068b8fd 100644 --- a/lib/CMSIS/CM1/DeviceSupport/ST/STM32F30x/system_stm32f30x.c +++ b/lib/CMSIS/CM1/DeviceSupport/ST/STM32F30x/system_stm32f30x.c @@ -190,7 +190,7 @@ void SystemInit(void) /* Configure the System clock source, PLL Multiplier and Divider factors, AHB/APBx prescalers and Flash settings ----------------------------------*/ - SetSysClock(); + //SetSysClock(); // called from main() #ifdef VECT_TAB_SRAM SCB->VTOR = SRAM_BASE | VECT_TAB_OFFSET; /* Vector Table Relocation in Internal SRAM. */