refactoring enum declaration

This commit is contained in:
Zaltora
2018-09-18 13:59:40 +02:00
parent bf8eb078ca
commit 589e7f28e0
35 changed files with 164 additions and 110 deletions

View File

@@ -29,14 +29,15 @@ extern "C" {
**********************/
/*Possible log level. For compatibility declare it independently from `USE_LV_LOG`*/
typedef enum
enum
{
LV_LOG_LEVEL_TRACE, /*A lot of logs to give detailed information*/
LV_LOG_LEVEL_INFO, /*Log important events*/
LV_LOG_LEVEL_WARN, /*Log if something unwanted happened but didn't caused problem*/
LV_LOG_LEVEL_ERROR, /*Only critical issue, when the system may fail*/
_LV_LOG_LEVEL_NUM
}lv_log_level_t;
};
typedef uint8_t lv_log_level_t;
#if USE_LV_LOG