move INDEV settings from lv_conf.h to the indev driver

This commit is contained in:
Gabor Kiss-Vamosi
2019-04-02 12:15:35 +02:00
parent 38c55377c6
commit 84ace67720
14 changed files with 187 additions and 118 deletions

View File

@@ -113,17 +113,16 @@ void lv_disp_assign_screen(lv_disp_t * disp, lv_obj_t * scr)
}
/**
* Get the a pointer to the screen refresher task.
* It's parameters can be modified with `lv_task_...` functions,
* Get a pointer to the screen refresher task to
* modify its parameters with `lv_task_...` functions.
* @param disp pointer to a display
* @return pointer to the display refresher task. (NULL on error)
*/
lv_task_t * lv_disp_get_refr_task(lv_disp_t * disp)
{
if(!disp) disp = lv_disp_get_default();
if(!disp) {
LV_LOG_WARN("lv_disp_get_refr_task: no display registered to get its top layer");
LV_LOG_WARN("lv_disp_get_refr_task: no display registered");
return NULL;
}