未验证 提交 43515077 编写于 作者: G guo 提交者: GitHub

Merge pull request #5159 from liukangcc/master

[update] fix SCB_EnableDCache 宏与函数名冲突
......@@ -161,12 +161,12 @@ void rt_hw_us_delay(rt_uint32_t us)
*/
RT_WEAK void rt_hw_board_init()
{
#ifdef SCB_EnableICache
#ifdef BSP_SCB_ENABLE_I_CACHE
/* Enable I-Cache---------------------------------------------------------*/
SCB_EnableICache();
#endif
#ifdef SCB_EnableDCache
#ifdef BSP_SCB_ENABLE_D_CACHE
/* Enable D-Cache---------------------------------------------------------*/
SCB_EnableDCache();
#endif
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册