Remove the double empty lines from all source files (#2009)

* Run dos2unix for all source files

* Remove the trail space from all source files

* Remove the double empty lines from all source files
This commit is contained in:
Xiang Xiao
2021-01-11 07:28:00 -06:00
committed by GitHub
parent 52ba06a228
commit 81b13bf3b6
181 changed files with 515 additions and 1201 deletions

View File

@@ -173,11 +173,9 @@ static void basic_init(void)
style_init_reset(&styles->no_radius);
lv_style_set_radius(&styles->no_radius, LV_STATE_DEFAULT, 0);
style_init_reset(&styles->border_none);
lv_style_set_border_width(&styles->border_none, LV_STATE_DEFAULT, 0);
style_init_reset(&styles->fg_color);
lv_style_set_bg_color(&styles->fg_color, LV_STATE_DEFAULT, FG_COLOR);
lv_style_set_text_color(&styles->fg_color, LV_STATE_DEFAULT, BG_COLOR);
@@ -242,7 +240,6 @@ static void btn_init(void)
#endif
}
static void btnmatrix_init(void)
{
#if LV_USE_BTNMATRIX
@@ -250,7 +247,6 @@ static void btnmatrix_init(void)
#endif
}
static void calendar_init(void)
{
#if LV_USE_CALENDAR
@@ -283,7 +279,6 @@ static void chart_init(void)
#endif
}
static void cpicker_init(void)
{
#if LV_USE_CPICKER
@@ -298,7 +293,6 @@ static void checkbox_init(void)
#endif
}
static void cont_init(void)
{
#if LV_USE_CONT != 0
@@ -306,7 +300,6 @@ static void cont_init(void)
#endif
}
static void gauge_init(void)
{
#if LV_USE_GAUGE != 0
@@ -342,7 +335,6 @@ static void label_init(void)
#endif
}
static void linemeter_init(void)
{
#if LV_USE_LINEMETER != 0
@@ -393,7 +385,6 @@ static void switch_init(void)
#endif
}
static void spinbox_init(void)
{
#if LV_USE_SPINBOX
@@ -401,7 +392,6 @@ static void spinbox_init(void)
#endif
}
static void spinner_init(void)
{
#if LV_USE_SPINNER != 0
@@ -492,7 +482,6 @@ static void win_init(void)
#endif
}
/**********************
* GLOBAL FUNCTIONS
**********************/
@@ -567,7 +556,6 @@ lv_theme_t * lv_theme_mono_init(lv_color_t color_primary, lv_color_t color_secon
return &theme;
}
static void theme_apply(lv_theme_t * th, lv_obj_t * obj, lv_theme_style_t name)
{
LV_UNUSED(th);
@@ -812,7 +800,6 @@ static void theme_apply(lv_theme_t * th, lv_obj_t * obj, lv_theme_style_t name)
break;
#endif
#if LV_USE_ROLLER
case LV_THEME_ROLLER:
list = lv_obj_get_style_list(obj, LV_ROLLER_PART_BG);
@@ -826,7 +813,6 @@ static void theme_apply(lv_theme_t * th, lv_obj_t * obj, lv_theme_style_t name)
break;
#endif
#if LV_USE_OBJMASK
case LV_THEME_OBJMASK:
list = lv_obj_get_style_list(obj, LV_OBJMASK_PART_MAIN);
@@ -940,7 +926,6 @@ static void theme_apply(lv_theme_t * th, lv_obj_t * obj, lv_theme_style_t name)
break;
#endif
#if LV_USE_SPINBOX
case LV_THEME_SPINBOX:
list = lv_obj_get_style_list(obj, LV_SPINBOX_PART_BG);
@@ -1019,10 +1004,8 @@ static void theme_apply(lv_theme_t * th, lv_obj_t * obj, lv_theme_style_t name)
break;
}
lv_obj_refresh_style(obj, LV_OBJ_PART_ALL, LV_STYLE_PROP_ALL);
}
/**********************