解决编译警告

This commit is contained in:
heyuanjie87 2024-08-30 19:56:58 +08:00 committed by Rbb666
parent 1045bcb9df
commit 063e6e7c0c
1 changed files with 1 additions and 1 deletions

View File

@ -17,9 +17,9 @@
#endif #endif
static rt_list_t _rt_thread_defunct = RT_LIST_OBJECT_INIT(_rt_thread_defunct); static rt_list_t _rt_thread_defunct = RT_LIST_OBJECT_INIT(_rt_thread_defunct);
static struct rt_spinlock _defunct_spinlock; static struct rt_spinlock _defunct_spinlock;
#if defined(RT_USING_SMP) || defined(RT_USING_SMART)
static struct rt_thread rt_system_thread; static struct rt_thread rt_system_thread;
rt_align(RT_ALIGN_SIZE) static rt_uint8_t rt_system_stack[SYSTEM_THREAD_STACK_SIZE]; rt_align(RT_ALIGN_SIZE) static rt_uint8_t rt_system_stack[SYSTEM_THREAD_STACK_SIZE];
#if defined(RT_USING_SMP) || defined(RT_USING_SMART)
static struct rt_semaphore system_sem; static struct rt_semaphore system_sem;
#endif #endif