mirror of
https://github.com/lvgl/lvgl.git
synced 2026-09-21 02:04:52 +08:00
fix(vg_lite): fix pending swap sequence error (#7849)
Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com> Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
This commit is contained in:
@@ -99,8 +99,8 @@ void lv_vg_lite_pending_remove_all(lv_vg_lite_pending_t * pending)
|
||||
|
||||
void lv_vg_lite_pending_swap(lv_vg_lite_pending_t * pending)
|
||||
{
|
||||
lv_vg_lite_pending_remove_all(pending);
|
||||
pending->arr_act = (pending->arr_act == &pending->arr_1) ? &pending->arr_2 : &pending->arr_1;
|
||||
lv_vg_lite_pending_remove_all(pending);
|
||||
}
|
||||
|
||||
/**********************
|
||||
|
||||
Reference in New Issue
Block a user