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)]