Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit7e6d724

Browse files
committed
system(f4): update STM32F4xx system
Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
1 parent0bdf30e commit7e6d724

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 doneby defaultin Flash. */
89+
in Sram else user remap will be done in Flash. */
9190
/* #define VECT_TAB_SRAM */
9291

9392
#ifndefVECT_TAB_OFFSET
@@ -235,7 +234,7 @@ void SystemInit(void)
235234
*/
236235
voidSystemCoreClockUpdate(void)
237236
{
238-
uint32_ttmp=0,pllvco=0,pllp=2,pllsource=0,pllm=2;
237+
uint32_ttmp,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)

[8]ページ先頭

©2009-2025 Movatter.jp