Skip to content

Commit 6bc71e2

Browse files
committed
system(f4): update STM32F4xx system
Signed-off-by: Frederic Pillon <[email protected]>
1 parent ca9fdaa commit 6bc71e2

File tree

1 file changed

+7
-9
lines changed

1 file changed

+7
-9
lines changed

system/STM32F4xx/system_stm32f4xx.c

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,12 @@
2222
******************************************************************************
2323
* @attention
2424
*
25-
* <h2><center>&copy; Copyright (c) 2017 STMicroelectronics.
26-
* All rights reserved.</center></h2>
25+
* Copyright (c) 2017 STMicroelectronics.
26+
* All rights reserved.
2727
*
28-
* This software component is licensed by ST under BSD 3-Clause license,
29-
* the "License"; You may not use this file except in compliance with the
30-
* License. You may obtain a copy of the License at:
31-
* opensource.org/licenses/BSD-3-Clause
28+
* This software is licensed under terms that can be found in the LICENSE file
29+
* in the root directory of this software component.
30+
* If no LICENSE file comes with this software, it is provided AS-IS.
3231
*
3332
******************************************************************************
3433
*/
@@ -87,7 +86,7 @@
8786
/* #define VECT_TAB_BASE_ADDRESS 0x08000000 */
8887

8988
/*!< Uncomment the following line if you need to relocate your vector Table
90-
in Sram else user remap will be done by default in Flash. */
89+
in Sram else user remap will be done in Flash. */
9190
/* #define VECT_TAB_SRAM */
9291

9392
#ifndef VECT_TAB_OFFSET
@@ -235,7 +234,7 @@ void SystemInit(void)
235234
*/
236235
void SystemCoreClockUpdate(void)
237236
{
238-
uint32_t tmp = 0, pllvco = 0, pllp = 2, pllsource = 0, pllm = 2;
237+
uint32_t tmp, pllvco, pllp, pllsource, pllm;
239238

240239
/* Get SYSCLK source -------------------------------------------------------*/
241240
tmp = RCC->CFGR & RCC_CFGR_SWS;
@@ -761,4 +760,3 @@ void SystemInit_ExtMemCtl(void)
761760
/**
762761
* @}
763762
*/
764-
/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/

0 commit comments

Comments
 (0)