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

This commit is contained in:
shaojinchun 2019-04-19 14:57:50 +08:00
parent c8870b4268
commit fa697a763f
1 changed files with 1 additions and 1 deletions

View File

@ -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