Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix(chart) fix typo in 655f42b
  • Loading branch information
kisvegabor committed Aug 9, 2021
1 parent 655f42b commit 6118d63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/extra/widgets/chart/lv_chart.c
Expand Up @@ -839,7 +839,7 @@ static void draw_series_line(lv_obj_t * obj, const lv_area_t * clip_area)
if(_lv_area_intersect(&com_area, &obj->coords, clip_area) == false) return;

lv_chart_t * chart = (lv_chart_t *)obj;
if(chart->point_cnt < 1) return;
if(chart->point_cnt < 2) return;

uint16_t i;
lv_point_t p1;
Expand Down

0 comments on commit 6118d63

Please sign in to comment.