1
0
mirror of https://github.com/lvgl/lvgl.git synced 2025-01-28 07:03:00 +08:00

Fix rotary type getter.

This commit is contained in:
Adam Martini 2020-06-19 11:38:22 -07:00
parent 168a7c4c45
commit 884be64d17

View File

@ -265,7 +265,7 @@ bool lv_rotary_is_dragged(const lv_obj_t * rotary);
*/
static inline lv_rotary_type_t lv_rotary_get_type(lv_obj_t * rotary)
{
lv_bar_type_t type = lv_bar_get_type(rotary);
lv_rotary_type_t type = lv_rotary_get_type(rotary);
if(type == LV_ROTARY_TYPE_NORMAL)
return LV_ROTARY_TYPE_NORMAL;
}