Update idle.c
This commit is contained in:
parent
387bbcc44f
commit
05052127c3
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue