diff options
| author | shaojinchun <[email protected]> | 2019-04-19 14:57:50 +0800 |
|---|---|---|
| committer | shaojinchun <[email protected]> | 2019-04-19 14:57:50 +0800 |
| commit | fa697a763f5cbece6b886cf2eca54b2dd28f718d (patch) | |
| tree | 50b875aaa836bed79c2d38c044520a16d16a3e0c | |
| parent | c8870b4268d3125e002a533823fa61891d6a3982 (diff) | |
修改sem中的value成员变量和赋值参数类型相同
| -rw-r--r-- | include/rtdef.h | 2 |
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 |
