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

@@ -45,10 +45,11 @@ typedef struct
lv_style_t *style_indic; /*Style of the indicator*/
} lv_bar_ext_t;
typedef enum {
enum {
LV_BAR_STYLE_BG,
LV_BAR_STYLE_INDIC,
} lv_bar_style_t;
};
typedef uint8_t lv_bar_style_t;
/**********************
* GLOBAL PROTOTYPES