Browse Source

[cpu] remove assert for recursion for #8475

Signed-off-by: Shell <smokewood@qq.com>
Shell 1 năm trước cách đây
mục cha
commit
8da86e718f
1 tập tin đã thay đổi với 0 bổ sung1 xóa
  1. 0 1
      src/cpu.c

+ 0 - 1
src/cpu.c

@@ -136,7 +136,6 @@ RTM_EXPORT(rt_spin_unlock_irqrestore)
  */
 struct rt_cpu *rt_cpu_self(void)
 {
-    RT_ASSERT(!rt_scheduler_is_available());
     return &_cpus[rt_hw_cpu_id()];
 }