diff options
| author | Radomir Dopieralski <openstack@sheep.art.pl> | 2019-07-31 23:32:42 +0200 |
|---|---|---|
| committer | Radomir Dopieralski <openstack@sheep.art.pl> | 2019-07-31 23:32:42 +0200 |
| commit | c4c5d8c5e72b43aed99428fbc18545a29a7727cc (patch) | |
| tree | a3beb7399ee2cb42666a6b7eb425782d5ecc53c5 /shared-bindings/_stage | |
| parent | 366fdcce18e148a6828b7a7074e1e4198fca3595 (diff) | |
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.
Diffstat (limited to 'shared-bindings/_stage')
| -rw-r--r-- | shared-bindings/_stage/__init__.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/shared-bindings/_stage/__init__.c b/shared-bindings/_stage/__init__.c index 9f3f89462..1ca206339 100644 --- a/shared-bindings/_stage/__init__.c +++ b/shared-bindings/_stage/__init__.c @@ -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); |
