Skip to content

Commit

Permalink
chore(examples): remove extra spaces (lvgl#6435)
Browse files Browse the repository at this point in the history
Co-authored-by: apple <apple@appledeMacBook-Air.local>
  • Loading branch information
W-Mai and apple authored Jul 4, 2024
1 parent 1c16538 commit 0e10a7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/widgets/chart/lv_example_chart_7.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ static void draw_event_cb(lv_event_t * e)
uint32_t cnt = lv_chart_get_point_count(obj);

/*Make older value more transparent*/
rect_draw_dsc->bg_opa = (LV_OPA_COVER * base_dsc->id2) / (cnt - 1);
rect_draw_dsc->bg_opa = (LV_OPA_COVER * base_dsc->id2) / (cnt - 1);

/*Make smaller values blue, higher values red*/
int32_t * x_array = lv_chart_get_x_array(obj, ser);
Expand Down

0 comments on commit 0e10a7e

Please sign in to comment.