提交 fa697a76 编写于 作者: S shaojinchun

修改sem中的value成员变量和赋值参数类型相同

上级 c8870b42
...@@ -655,7 +655,7 @@ struct rt_semaphore ...@@ -655,7 +655,7 @@ struct rt_semaphore
{ {
struct rt_ipc_object parent; /**< inherit from ipc_object */ struct rt_ipc_object parent; /**< inherit from ipc_object */
rt_uint16_t value; /**< value of semaphore. */ rt_uint32_t value; /**< value of semaphore. */
}; };
typedef struct rt_semaphore *rt_sem_t; typedef struct rt_semaphore *rt_sem_t;
#endif #endif
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册