aboutsummaryrefslogtreecommitdiff
path: root/src/widgets/buttonmatrix/lv_buttonmatrix.c
diff options
context:
space:
mode:
authorGabor Kiss-Vamosi <kisvegabor@gmail.com>2023-10-31 19:13:45 +0100
committerGabor Kiss-Vamosi <kisvegabor@gmail.com>2023-10-31 19:20:36 +0100
commit50d01cec3d24669652a9e80a03fa48a514d026d5 (patch)
tree922e510d914ecb5af65d27a4761f060f0795df61 /src/widgets/buttonmatrix/lv_buttonmatrix.c
parentd28f80d3626db300540efa78b6218d20a81aca25 (diff)
downloadlvgl-50d01cec3d24669652a9e80a03fa48a514d026d5.tar.gz
lvgl-50d01cec3d24669652a9e80a03fa48a514d026d5.zip
refactor(style): rename lv_indev_get_act to lv_indev_active
Diffstat (limited to 'src/widgets/buttonmatrix/lv_buttonmatrix.c')
-rw-r--r--src/widgets/buttonmatrix/lv_buttonmatrix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/widgets/buttonmatrix/lv_buttonmatrix.c b/src/widgets/buttonmatrix/lv_buttonmatrix.c
index 00e99b23b..4f6a27b3e 100644
--- a/src/widgets/buttonmatrix/lv_buttonmatrix.c
+++ b/src/widgets/buttonmatrix/lv_buttonmatrix.c
@@ -421,7 +421,7 @@ static void lv_buttonmatrix_event(const lv_obj_class_t * class_p, lv_event_t * e
lv_indev_t * indev = lv_event_get_indev(e);
invalidate_button_area(obj, btnm->btn_id_sel);
- lv_indev_type_t indev_type = lv_indev_get_type(lv_indev_get_act());
+ lv_indev_type_t indev_type = lv_indev_get_type(lv_indev_active());
if(indev_type == LV_INDEV_TYPE_POINTER || indev_type == LV_INDEV_TYPE_BUTTON) {
uint32_t btn_pr;
/*Search the pressed area*/