/* Get a pointer to the screen refresher task to modify its parameters with  */
lv_task_t* lv_disp_get_refr_task(lv_disp_t *disp)
/* Get a pointer to the screen refresher task to modify its parameters with  */
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");
        return NULL;
    }
    return disp->refr_task;
}