mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-03-25 01:43:49 +08:00
修改sem中的value成员变量和赋值参数类型相同
This commit is contained in:
@@ -655,7 +655,7 @@ struct rt_semaphore
|
||||
{
|
||||
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;
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user