From 61553426ef1b0b2fc4c07383c8943030c6e7648c Mon Sep 17 00:00:00 2001 From: xennex22 <25083624+xennex22@users.noreply.github.com> Date: Mon, 30 Mar 2020 09:13:07 -0700 Subject: [PATCH] Initialize rotation value --- src/lv_widgets/lv_arc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lv_widgets/lv_arc.c b/src/lv_widgets/lv_arc.c index 4b324a0da..d2bfc47b2 100644 --- a/src/lv_widgets/lv_arc.c +++ b/src/lv_widgets/lv_arc.c @@ -73,6 +73,7 @@ lv_obj_t * lv_arc_create(lv_obj_t * par, const lv_obj_t * copy) if(ancestor_design == NULL) ancestor_design = lv_obj_get_design_cb(arc); /*Initialize the allocated 'ext' */ + ext->rotation_angle = 0; ext->bg_angle_start = 135; ext->bg_angle_end = 45; ext->arc_angle_start = 135;