lv_porting: add display and indev porting skeleton functions

This commit is contained in:
Gabor Kiss-Vamosi
2018-12-31 18:19:38 +01:00
parent a9921c78e8
commit 9c7c200048
9 changed files with 745 additions and 3 deletions

View File

@@ -161,7 +161,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, 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;
}