[src][scheduler]修复 rt_exit_critical_safe 函数错误地使用了返回

函数 rt_exit_critical_safe 应是没有返回值的,rt_exit_critical() 也是没返回值的
This commit is contained in:
sp-cai 2024-04-10 13:10:47 +08:00 committed by GitHub
parent 651f23a604
commit e6a921d44a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -486,7 +486,7 @@ 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