Skip to content

Commit

Permalink
Define the SystemClock_Config as a weak function.
Browse files Browse the repository at this point in the history
This allow end user to redefine the clock configuration.

Signed-off-by: Frederic.Pillon <frederic.pillon@st.com>
  • Loading branch information
fpistm committed Jun 16, 2017
1 parent 91aab46 commit c05a26e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion variants/NUCLEO_F030R8/variant.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ void init( void )
* @param None
* @retval None
*/
void SystemClock_Config(void)
WEAK void SystemClock_Config(void)
{
RCC_ClkInitTypeDef RCC_ClkInitStruct;
RCC_OscInitTypeDef RCC_OscInitStruct;
Expand Down

0 comments on commit c05a26e

Please sign in to comment.