删除无用代码

This commit is contained in:
lxbpxylps@126.com 2021-10-12 18:04:36 +08:00
parent 16f610b803
commit 0eb535f757

View File

@ -37,8 +37,6 @@ void SystemClock_Config(void)
if (HAL_RCC_OscConfig(&oscinitstruct) != HAL_OK)
{
Error_Handler(__FILE__, __LINE__);
while (1)
;
}
/* Select PLL as system clock source and configure the HCLK, PCLK1 and PCLK2
@ -51,8 +49,6 @@ void SystemClock_Config(void)
if (HAL_RCC_ClockConfig(&clkinitstruct, FLASH_LATENCY_2) != HAL_OK)
{
Error_Handler(__FILE__, __LINE__);
while (1)
;
}
}