This commit is contained in:
Adam Martini
2020-06-19 15:59:04 -07:00
parent 75a27e4cc7
commit 4e13d6ae4d

View File

@@ -247,7 +247,7 @@ bool lv_rotary_is_dragged(const lv_obj_t * rotary);
*/
static inline bool lv_rotary_get_symmetric(lv_obj_t * rotary)
{
lv_rotary_ext_t * ext = lv_obj_get_ext_attr(rotary);
lv_rotary_ext_t * ext = (lv_rotary_ext_t *)lv_obj_get_ext_attr(rotary);
return ext->sym;
}