提交 05052127 编写于 作者: G geniusgogo 提交者: GitHub

Update idle.c

上级 387bbcc4
......@@ -185,7 +185,7 @@ static void rt_thread_idle_entry(void *parameter)
{
while (1)
{
#if defined(RT_USING_IDLE_HOOK) && (RT_USING_IDLE_HOOK == 1)
#ifdef RT_USING_IDLE_HOOK
if (rt_thread_idle_hook != RT_NULL)
{
rt_thread_idle_hook();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册