File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
targets/TARGET_STM/TARGET_STM32H7/TARGET_STM32H743xI/TARGET_NUCLEO_H743ZI2 Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -72,7 +72,7 @@ void SetSysClock(void)
72
72
#if ((CLOCK_SOURCE ) & USE_PLL_HSE_XTAL )
73
73
/* 2- If fail try to start with HSE and external xtal */
74
74
if (SetSysClock_PLL_HSE (0 ) == 0 )
75
- #endif
75
+ #endif
76
76
{
77
77
#if ((CLOCK_SOURCE ) & USE_PLL_HSI )
78
78
/* 3- If fail start with HSI clock */
@@ -85,6 +85,7 @@ void SetSysClock(void)
85
85
}
86
86
}
87
87
88
+
88
89
#if ( ((CLOCK_SOURCE ) & USE_PLL_HSE_XTAL ) || ((CLOCK_SOURCE ) & USE_PLL_HSE_EXTC ) )
89
90
/******************************************************************************/
90
91
/* PLL (clocked by HSE) used as System clock source */
@@ -116,7 +117,7 @@ uint8_t SetSysClock_PLL_HSE(uint8_t bypass)
116
117
RCC_OscInitStruct .PLL .PLLM = 5 ; // 5 MHz
117
118
RCC_OscInitStruct .PLL .PLLN = 192 ; // 960 MHz
118
119
#else
119
- error ( " Unsupported externall clock value, check hse_value define\n" )
120
+ # error Unsupported externall clock value, check hse_value define
120
121
#endif
121
122
RCC_OscInitStruct .HSI48State = RCC_HSI48_ON ;
122
123
RCC_OscInitStruct .PLL .PLLState = RCC_PLL_ON ;
You can’t perform that action at this time.
0 commit comments