[src][scheduler]修复 rt_exit_critical_safe 函数错误地使用了返回
函数 rt_exit_critical_safe 应是没有返回值的,rt_exit_critical() 也是没返回值的
This commit is contained in:
parent
651f23a604
commit
e6a921d44a
|
@ -486,7 +486,7 @@ void rt_exit_critical_safe(rt_base_t critical_level)
|
||||||
|
|
||||||
void rt_exit_critical_safe(rt_base_t critical_level)
|
void rt_exit_critical_safe(rt_base_t critical_level)
|
||||||
{
|
{
|
||||||
return rt_exit_critical();
|
rt_exit_critical();
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue