提交 6ba37679 编写于 作者: 流光

[update] Configure the lowest priority of STM32 systick interrupts | 配置STM32 systick中断优先级为系统最低.

上级 0a5d7d60
......@@ -33,7 +33,7 @@ void rt_hw_systick_init(void)
HAL_SYSTICK_Config(HAL_RCC_GetHCLKFreq() / RT_TICK_PER_SECOND);
#endif
HAL_SYSTICK_CLKSourceConfig(SYSTICK_CLKSOURCE_HCLK);
HAL_NVIC_SetPriority(SysTick_IRQn, 0, 0);
NVIC_SetPriority(SysTick_IRQn, 0xFF);
}
/**
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册