فهرست منبع

fix for art-pi smart

xiao-mang 1 سال پیش
والد
کامیت
84e6b3c393
1فایلهای تغییر یافته به همراه0 افزوده شده و 2 حذف شده
  1. 0 2
      include/rtthread.h

+ 0 - 2
include/rtthread.h

@@ -828,8 +828,6 @@ do                                                                            \
 {                                                                             \
     if (need_check)                                                           \
     {                                                                         \
-        rt_bool_t interrupt_disabled;                                         \
-        interrupt_disabled = rt_hw_interrupt_is_disabled();                   \
         if (rt_critical_level() != 0)                                         \
         {                                                                     \
             rt_kprintf("Function[%s]: scheduler is not available\n",          \