summaryrefslogtreecommitdiff
path: root/bsp
diff options
context:
space:
mode:
authorguo <[email protected]>2021-10-11 07:49:45 +0800
committerGitHub <[email protected]>2021-10-11 07:49:45 +0800
commit24f2ce62ba471fc5a24db0f9af8dd99a59aa5adf (patch)
tree25e8e6c36c059150e2fa1cfe9a4beb99609cc1af /bsp
parent4f7d4247de9abe1b64c4b8c689d6a1ba95fdec93 (diff)
parent7fe03a76e6fe6bf1f97d37202754353f76d5b359 (diff)
Merge pull request #5124 from tfx2001/master
Diffstat (limited to 'bsp')
-rw-r--r--bsp/stm32/stm32h750-artpi-h750/board/board.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/bsp/stm32/stm32h750-artpi-h750/board/board.c b/bsp/stm32/stm32h750-artpi-h750/board/board.c
index 0d8653aa26..77fe5fee7f 100644
--- a/bsp/stm32/stm32h750-artpi-h750/board/board.c
+++ b/bsp/stm32/stm32h750-artpi-h750/board/board.c
@@ -32,8 +32,9 @@ void SystemClock_Config(void)
/** Initializes the RCC Oscillators according to the specified parameters
* in the RCC_OscInitTypeDef structure.
*/
- RCC_OscInitStruct.OscillatorType = RCC_OSCILLATORTYPE_HSE;
+ RCC_OscInitStruct.OscillatorType = RCC_OSCILLATORTYPE_HSI48 | RCC_OSCILLATORTYPE_HSE;
RCC_OscInitStruct.HSEState = RCC_HSE_ON;
+ RCC_OscInitStruct.HSI48State = RCC_HSI48_ON;
RCC_OscInitStruct.PLL.PLLState = RCC_PLL_ON;
RCC_OscInitStruct.PLL.PLLSource = RCC_PLLSOURCE_HSE;
RCC_OscInitStruct.PLL.PLLM = 5;