/* 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)
{
    lv_anim_refr_now();
    if(disp) {
        _lv_disp_refr_timer(disp->refr_timer);
    }
    else {
        lv_disp_t * d;
        d = lv_disp_get_next(NULL);
        while(d) {
            _lv_disp_refr_timer(d->refr_timer);
            d = lv_disp_get_next(d);
        }
    }
}