/* Redraw the invalidated areas now. Normally the redrawing is periodically executed in  */
void lv_refr_now(lv_disp_t *disp)
/* Redraw the invalidated areas now. Normally the redrawing is periodically executed in  */
void lv_refr_now(lv_disp_t *disp)
{
    if(disp) {
        lv_disp_refr_task(disp->refr_task);
    } else {
        lv_disp_t * d;
        d = lv_disp_get_next(NULL);
        while(d) {
            lv_disp_refr_task(d->refr_task);
            d = lv_disp_get_next(d);
        }
    }
}