From 7cc3ed51bf35715843da0907fcaeba8fafbc12ff Mon Sep 17 00:00:00 2001 From: Xiang Xiao Date: Wed, 24 Mar 2021 04:01:56 -0700 Subject: [PATCH] fix(style): add one space before { for struct definition (#2160) --- src/core/lv_obj.h | 2 +- src/misc/lv_style.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/lv_obj.h b/src/core/lv_obj.h index 0398772019..3d1ca4cb5b 100644 --- a/src/core/lv_obj.h +++ b/src/core/lv_obj.h @@ -236,7 +236,7 @@ typedef struct { uint8_t event_dsc_cnt; /**< Number of event callabcks stored in `event_cb` array*/ }lv_obj_spec_attr_t; -typedef struct _lv_obj_t{ +typedef struct _lv_obj_t { const lv_obj_class_t * class_p; struct _lv_obj_t * parent; lv_obj_spec_attr_t * spec_attr; diff --git a/src/misc/lv_style.h b/src/misc/lv_style.h index 018f757dc3..9c5abc3f8d 100644 --- a/src/misc/lv_style.h +++ b/src/misc/lv_style.h @@ -226,7 +226,7 @@ typedef enum { /** * Descriptor for style transitions */ -typedef struct _lv_style_transiton_t{ +typedef struct _lv_style_transiton_t { const lv_style_prop_t * props; /**< An array with the properties to animate.*/ const lv_anim_path_t * path; /**< A path for the animation.*/ uint32_t time; /**< Duration of the transition in [ms]*/