chore: code formatting

This commit is contained in:
Gabor Kiss-Vamosi
2022-03-23 12:49:33 +01:00
parent e53f60259c
commit 1d60da6d8e
2 changed files with 2 additions and 2 deletions

View File

@@ -422,7 +422,7 @@ uint8_t _lv_style_prop_lookup_flags(lv_style_prop_t prop)
{
extern const uint8_t _lv_style_builtin_prop_flag_lookup_table[];
extern uint32_t _lv_style_custom_prop_flag_lookup_table_size;
if(prop == LV_STYLE_PROP_ANY) return LV_STYLE_PROP_ALL; /*Any prop can have any flags*/
if(prop == LV_STYLE_PROP_ANY) return LV_STYLE_PROP_ALL; /*Any prop can have any flags*/
if(prop == LV_STYLE_PROP_INV) return 0;
if(prop < _LV_STYLE_NUM_BUILT_IN_PROPS)

View File

@@ -40,7 +40,7 @@ extern "C" {
#define LV_STYLE_PROP_EXT_DRAW (1 << 1) /*Requires ext. draw size update when changed*/
#define LV_STYLE_PROP_LAYOUT_REFR (1 << 2) /*Requires layout update when changed*/
#define LV_STYLE_PROP_PARENT_LAYOUT_REFR (1 << 3) /*Requires layout update on parent when changed*/
#define LV_STYLE_PROP_ALL (0xf) /*Indicating all flags*/
#define LV_STYLE_PROP_ALL (0xf) /*Indicating all flags*/
/**
* Other constants