fix(display): fix inconsistency in the API (#5136)
This commit is contained in:
committed by
GitHub
parent
0f3c9b4734
commit
e10f573150
@@ -357,7 +357,7 @@ void lv_canvas_finish_layer(lv_obj_t * canvas, lv_layer_t * layer)
|
||||
{
|
||||
while(layer->draw_task_head) {
|
||||
lv_draw_dispatch_wait_for_request();
|
||||
lv_draw_dispatch_layer(lv_obj_get_disp(canvas), layer);
|
||||
lv_draw_dispatch_layer(lv_obj_get_display(canvas), layer);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user