fix codecheck "Macros are not allowed to represent constants."

Signed-off-by: yudechen <chenyude@huawei.com>
Change-Id: Ie404cb92ad5618e4bea3408e4ffd4ae0dd6bb6f0
This commit is contained in:
yudechen
2022-04-24 17:57:40 +08:00
parent c40730bf68
commit 67470b18b4
+3 -3
View File
@@ -24,9 +24,9 @@
namespace OHOS {
EXTERN_C_START
#define OS_SYSCAP_U32_NUM 30
#define U32_TO_STR_MAX_LEN 11
#define SYSCAP_STR_MAX_LEN 128
const int OS_SYSCAP_U32_NUM = 30;
const int U32_TO_STR_MAX_LEN = 11;
const int SYSCAP_STR_MAX_LEN = 128;
#define PRINT_ERR(...) \
do { \