Fix missing write_ram_command in _stage
Since the changes in displayio, displayio_display_set_region_to_update no longer sends the write_ram_command, so we have to send it explicitly.
This commit is contained in:
parent
366fdcce18
commit
c4c5d8c5e7
@ -101,6 +101,8 @@ STATIC mp_obj_t stage_render(size_t n_args, const mp_obj_t *args) {
|
||||
area.x2 = x1;
|
||||
area.y2 = y1;
|
||||
displayio_display_set_region_to_update(display, &area);
|
||||
|
||||
display->send(display->bus, true, &display->write_ram_command, 1);
|
||||
render_stage(x0, y0, x1, y1, layers, layers_size, buffer, buffer_size, display);
|
||||
displayio_display_end_transaction(display);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user