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]*/