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
+3 -2
View File
@@ -46,12 +46,13 @@ typedef struct
uint8_t changed :1; /*Indicates the switch explicitly changed by drag*/
} lv_sw_ext_t;
typedef enum {
enum {
LV_SW_STYLE_BG,
LV_SW_STYLE_INDIC,
LV_SW_STYLE_KNOB_OFF,
LV_SW_STYLE_KNOB_ON,
} lv_sw_style_t;
};
typedef uint8_t lv_sw_style_t;
/**********************
* GLOBAL PROTOTYPES