fix(log): fix possible level out of bounds (#8216)

Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com>
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
This commit is contained in:
VIFEX
2025-05-10 11:06:44 +08:00
committed by GitHub
parent b1b66b78c2
commit e8c6cb1e6d
+1 -1
View File
@@ -29,7 +29,7 @@ extern "C" {
#define LV_LOG_LEVEL_ERROR 3 /**< Log only critical issues, when system may fail. */
#define LV_LOG_LEVEL_USER 4 /**< Log only custom log messages added by the user. */
#define LV_LOG_LEVEL_NONE 5 /**< Do not log anything. */
#define LV_LOG_LEVEL_NUM 6 /**< Number of log levels */
#define LV_LOG_LEVEL_NUM 5 /**< Number of log levels */
LV_EXPORT_CONST_INT(LV_LOG_LEVEL_TRACE);
LV_EXPORT_CONST_INT(LV_LOG_LEVEL_INFO);