From 68ca9f07a60ad5cbe52b37b52299327b6246e7f7 Mon Sep 17 00:00:00 2001 From: guo Date: Fri, 16 Dec 2022 18:38:28 +0800 Subject: [rt-smart] 弱化 RT_USING_LWP,使用 RT_USING_SMART 作为宏配置 (#6740) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * [dfs] sync cromfs * [rt-smart]Weaken RT_USING_LWP, use RT_USING_SMART as macro configuration * [format] fix some format issue. --- src/object.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/object.c') diff --git a/src/object.c b/src/object.c index 606e4c00ff..354703b713 100644 --- a/src/object.c +++ b/src/object.c @@ -23,7 +23,7 @@ #include #endif /* RT_USING_MODULE */ -#ifdef RT_USING_LWP +#ifdef RT_USING_SMART #include #endif @@ -71,7 +71,7 @@ enum rt_object_info_type #ifdef RT_USING_HEAP RT_Object_Info_Memory, /**< The object is a memory. */ #endif -#ifdef RT_USING_LWP +#ifdef RT_USING_SMART RT_Object_Info_Channel, /**< The object is a IPC channel */ #endif #ifdef RT_USING_HEAP @@ -129,7 +129,7 @@ static struct rt_object_information _object_container[RT_Object_Info_Unknown] = /* initialize object container - small memory */ {RT_Object_Class_Memory, _OBJ_CONTAINER_LIST_INIT(RT_Object_Info_Memory), sizeof(struct rt_memory)}, #endif -#ifdef RT_USING_LWP +#ifdef RT_USING_SMART /* initialize object container - module */ {RT_Object_Class_Channel, _OBJ_CONTAINER_LIST_INIT(RT_Object_Info_Channel), sizeof(struct rt_channel)}, {RT_Object_Class_Custom, _OBJ_CONTAINER_LIST_INIT(RT_Object_Info_Custom), sizeof(struct rt_custom_object)}, -- cgit v1.3.1