diff options
author | Gabor Kiss-Vamosi <kisvegabor@gmail.com> | 2023-10-31 19:13:45 +0100 |
---|---|---|
committer | Gabor Kiss-Vamosi <kisvegabor@gmail.com> | 2023-10-31 19:20:36 +0100 |
commit | 50d01cec3d24669652a9e80a03fa48a514d026d5 (patch) | |
tree | 922e510d914ecb5af65d27a4761f060f0795df61 /src/widgets/buttonmatrix/lv_buttonmatrix.c | |
parent | d28f80d3626db300540efa78b6218d20a81aca25 (diff) | |
download | lvgl-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.c | 2 |
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*/ |