From 0aeb49d28a1f3e8144df60b48060dc9de6d9df3b Mon Sep 17 00:00:00 2001 From: Adam Martini Date: Mon, 22 Jun 2020 22:53:58 -0700 Subject: [PATCH] Fix Set sym end angle --- src/lv_widgets/lv_rotary.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lv_widgets/lv_rotary.c b/src/lv_widgets/lv_rotary.c index 5c1011e4a..0dfd0ef73 100644 --- a/src/lv_widgets/lv_rotary.c +++ b/src/lv_widgets/lv_rotary.c @@ -195,7 +195,7 @@ void lv_rotary_set_value(lv_obj_t * rotary, int16_t value, lv_anim_enable_t anim ext->arc.bg_angle_start, bg_midpoint) ); } else { - lv_arc_set_start_angle( + lv_arc_set_end_angle( rotary, _lv_map(ext->cur_value, range_midpoint, ext->max_value, bg_midpoint, bg_end)