/* Pop (delete) the last 'num' invalidated areas from the buffer  */
void lv_refr_pop_from_buf(uint16_t num)
/* Pop (delete) the last 'num' invalidated areas from the buffer  */
void lv_refr_pop_from_buf(uint16_t num)
{
    if(inv_buf_p < num) inv_buf_p = 0;
    else inv_buf_p -= num;
}