Skip to content

Commit 1f868f9

Browse files
authored
Merge pull request #13646 from boraozgen/bugfix/system-clock-weak
Make STM32F412xG system_clock.c functions weak
2 parents 1dea16b + 011cd19 commit 1f868f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F412xG/system_clock.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ void SetSysClock(void)
8888
/******************************************************************************/
8989
/* PLL (clocked by HSE) used as System clock source */
9090
/******************************************************************************/
91-
uint8_t SetSysClock_PLL_HSE(uint8_t bypass)
91+
MBED_WEAK uint8_t SetSysClock_PLL_HSE(uint8_t bypass)
9292
{
9393
RCC_OscInitTypeDef RCC_OscInitStruct;
9494
RCC_ClkInitTypeDef RCC_ClkInitStruct;

0 commit comments

Comments
 (0)