Merge pull request #2026 from pewpew-game/master

Fix missing write_ram_command in _stage
This commit is contained in:
Scott Shawcroft 2019-07-31 16:44:39 -07:00 committed by GitHub
commit 95d2694bc3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -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);