From 853728869a7c76be8231df8e847b834c54c26d6e Mon Sep 17 00:00:00 2001 From: heyuanjie87 <943313837@qq.com> Date: Fri, 30 Aug 2024 19:56:58 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3=E7=BC=96=E8=AF=91=E8=AD=A6?= =?UTF-8?q?=E5=91=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/defunct.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/defunct.c b/src/defunct.c index ce696f8325..2af8046855 100644 --- a/src/defunct.c +++ b/src/defunct.c @@ -17,9 +17,9 @@ #endif static rt_list_t _rt_thread_defunct = RT_LIST_OBJECT_INIT(_rt_thread_defunct); static struct rt_spinlock _defunct_spinlock; +#if defined(RT_USING_SMP) || defined(RT_USING_SMART) static struct rt_thread rt_system_thread; 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; #endif