From fa697a763f5cbece6b886cf2eca54b2dd28f718d Mon Sep 17 00:00:00 2001 From: shaojinchun Date: Fri, 19 Apr 2019 14:57:50 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9sem=E4=B8=AD=E7=9A=84value?= =?UTF-8?q?=E6=88=90=E5=91=98=E5=8F=98=E9=87=8F=E5=92=8C=E8=B5=8B=E5=80=BC?= =?UTF-8?q?=E5=8F=82=E6=95=B0=E7=B1=BB=E5=9E=8B=E7=9B=B8=E5=90=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- include/rtdef.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- GitLab