Skip to content

Commit 401a6b4

Browse files
committed
Apply review suggestions
1 parent 9623d4e commit 401a6b4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F412xG/system_clock.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ uint8_t SetSysClock_PLL_HSI(void);
5656
* @retval None
5757
*/
5858

59-
__weak void SetSysClock(void)
59+
void SetSysClock(void)
6060
{
6161
#if ((CLOCK_SOURCE) & USE_PLL_HSE_EXTC)
6262
/* 1- Try to start with HSE and external clock */
@@ -88,7 +88,7 @@ __weak void SetSysClock(void)
8888
/******************************************************************************/
8989
/* PLL (clocked by HSE) used as System clock source */
9090
/******************************************************************************/
91-
__weak 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;
@@ -167,7 +167,7 @@ __weak uint8_t SetSysClock_PLL_HSE(uint8_t bypass)
167167
/******************************************************************************/
168168
/* PLL (clocked by HSI) used as System clock source */
169169
/******************************************************************************/
170-
__weak uint8_t SetSysClock_PLL_HSI(void)
170+
MBED_WEAK uint8_t SetSysClock_PLL_HSI(void)
171171
{
172172
RCC_OscInitTypeDef RCC_OscInitStruct;
173173
RCC_ClkInitTypeDef RCC_ClkInitStruct;

0 commit comments

Comments
 (0)