Skip to content

Commit c05a26e

Browse files
committed
Define the SystemClock_Config as a weak function.
This allow end user to redefine the clock configuration. Signed-off-by: Frederic.Pillon <[email protected]>
1 parent 91aab46 commit c05a26e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

variants/NUCLEO_F030R8/variant.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ void init( void )
147147
* @param None
148148
* @retval None
149149
*/
150-
void SystemClock_Config(void)
150+
WEAK void SystemClock_Config(void)
151151
{
152152
RCC_ClkInitTypeDef RCC_ClkInitStruct;
153153
RCC_OscInitTypeDef RCC_OscInitStruct;

0 commit comments

Comments
 (0)