[Kernel] Fix a bug on rt_schedule().

This commit is contained in:
armink 2017-10-18 19:13:30 +08:00
parent 7b2decbb7c
commit 7a99641c71
1 changed files with 5 additions and 0 deletions

View File

@ -269,6 +269,11 @@ void rt_schedule(void)
rt_hw_interrupt_enable(level); rt_hw_interrupt_enable(level);
} }
} }
else
{
/* enable interrupt */
rt_hw_interrupt_enable(level);
}
} }
/* /*