Avoid calling SetSysClock twice.

This commit is contained in:
Dominic Clifton 2014-04-25 12:10:51 +01:00
parent cde26ac1a2
commit 2cc3a50c01
1 changed files with 1 additions and 1 deletions

View File

@ -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. */