From 808ea9273e863b1deb26c68de718a15e09c3f2ed Mon Sep 17 00:00:00 2001 From: coffee Date: Tue, 1 Apr 2025 19:48:01 +0800 Subject: [PATCH] =?UTF-8?q?1.=20=E4=BF=AE=E5=A4=8D=E5=88=9D=E5=A7=8B?= =?UTF-8?q?=E5=8C=96=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- include/HBit.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/HBit.h b/include/HBit.h index 95ed953..4621dd7 100644 --- a/include/HBit.h +++ b/include/HBit.h @@ -57,7 +57,7 @@ typedef struct __attribute__ ((__packed__)) _HBitBase { /** ============================================================================================= **/ // 定义HBit变量, name为变量名, num为需要比特长度 -#define HBIT_DEFINE(name, num) HBitType name[_HBIT_CALC_LEN(num)] = { kHBitInitFlag, _HBIT_INIT_SIZE(num), 0 } +#define HBIT_DEFINE(name, num) HBitType name[_HBIT_CALC_LEN(num)] = { kHBitInitFlag, _HBIT_INIT_SIZE(num) } // 声明HBit变量 #define HBIT_EXTERN(name, num) extern HBitType name[_HBIT_CALC_LEN(num)]