Commit 74e48040 authored by 李俭双's avatar 李俭双

🐞 fix:更改串口驱动

parent 9a0f7317
...@@ -51,7 +51,7 @@ static uint32_t UART_GetSysClock(void) ...@@ -51,7 +51,7 @@ static uint32_t UART_GetSysClock(void)
{ {
if (USE_HSE_SYSTYEM_CLOCK == SYSTYEM_CLOCK_OPEN) if (USE_HSE_SYSTYEM_CLOCK == SYSTYEM_CLOCK_OPEN)
{ {
return 8000000; return 64000000;
} }
else else
{ {
......
...@@ -16,7 +16,7 @@ void RTE_CLOCK_Select_Start(void) ...@@ -16,7 +16,7 @@ void RTE_CLOCK_Select_Start(void)
CGC_PLL_Setting(PLL_SR_fMX,PLL_DIV_2,PLL_MUL_16); CGC_PLL_Setting(PLL_SR_fMX,PLL_DIV_2,PLL_MUL_16);
CGC_PLL_CFG_AS_FCLK(); CGC_PLL_CFG_AS_FCLK();
delay_init(64000000); delay_init(64000000);
// SystemCoreClock = 64000000UL; SystemCoreClock = 64000000UL;
#endif #endif
#ifdef USED_FHOCO_FCLK #ifdef USED_FHOCO_FCLK
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment