4
0
mirror of https://github.com/RT-Thread/rt-thread.git synced 2025-01-19 03:03:30 +08:00

Merge pull request #880 from armink/fix_scheduler

[Kernel] Fix a bug on rt_schedule().
This commit is contained in:
Bernard Xiong 2017-10-18 19:44:50 +08:00 committed by GitHub
commit 121b72df71

View File

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