fix lv_indev_set_button_points prototype

This commit is contained in:
Gabor Kiss-Vamosi
2020-04-07 14:26:44 +02:00
parent 5d8798b514
commit 3abd907404
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -219,7 +219,7 @@ void lv_indev_set_group(lv_indev_t * indev, lv_group_t * group)
* @param indev pointer to an input device
* @param group point to a group
*/
void lv_indev_set_button_points(lv_indev_t * indev, const lv_point_t * points)
void lv_indev_set_button_points(lv_indev_t * indev, const lv_point_t points[])
{
if(indev->driver.type == LV_INDEV_TYPE_BUTTON) {
indev->btn_points = points;
+1 -1
View File
@@ -95,7 +95,7 @@ void lv_indev_set_group(lv_indev_t * indev, lv_group_t * group);
* @param indev pointer to an input device
* @param group point to a group
*/
void lv_indev_set_button_points(lv_indev_t * indev, const lv_point_t * points);
void lv_indev_set_button_points(lv_indev_t * indev, const lv_point_t points[]);
/**
* Get the last point of an input device (for LV_INDEV_TYPE_POINTER and LV_INDEV_TYPE_BUTTON)