Skip to content

Commit

Permalink
fix(style): add one space before { for struct definition (#2160)
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaoxiang781216 authored Mar 24, 2021
1 parent 5f99328 commit 7cc3ed5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/core/lv_obj.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion src/misc/lv_style.h
Original file line number Diff line number Diff line change
Expand Up @@ -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]*/
Expand Down

0 comments on commit 7cc3ed5

Please sign in to comment.