summaryrefslogtreecommitdiff
path: root/include/rtdef.h
diff options
context:
space:
mode:
authorshaojinchun <[email protected]>2019-04-19 14:57:50 +0800
committershaojinchun <[email protected]>2019-04-19 14:57:50 +0800
commitfa697a763f5cbece6b886cf2eca54b2dd28f718d (patch)
tree50b875aaa836bed79c2d38c044520a16d16a3e0c /include/rtdef.h
parentc8870b4268d3125e002a533823fa61891d6a3982 (diff)
修改sem中的value成员变量和赋值参数类型相同
Diffstat (limited to 'include/rtdef.h')
-rw-r--r--include/rtdef.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/rtdef.h b/include/rtdef.h
index 9b12093dc7..8c7e6e8c43 100644
--- a/include/rtdef.h
+++ b/include/rtdef.h
@@ -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