已开启
fix(hcomm): 将 EID 长度定义为 C 整数常量 #230
little_apple_12创建于 26 天前
fix(hcomm): 将 EID 长度定义为 C 整数常量 #230
已开启
共 1 个文件变更+1-1
| @@ -21,7 +21,7 @@ | |||
| 21 | extern "C" { | 21 | extern "C" { |
| 22 | #endif // __cplusplus | 22 | #endif // __cplusplus |
| 23 | 23 | ||
| 24 | -static const uint32_t COMM_ADDR_EID_LEN = 16U; | 24 | +enum { COMM_ADDR_EID_LEN = 16U }; |
| 25 | 25 | ||
| 26 | typedef int32_t HcommResult; | 26 | typedef int32_t HcommResult; |
| 27 | 27 | ||