diff options
| author | Dan Halbert <halbert@halwitz.org> | 2019-08-28 16:09:18 -0400 |
|---|---|---|
| committer | Dan Halbert <halbert@halwitz.org> | 2019-08-28 16:09:18 -0400 |
| commit | a72bcab0fd2af3c2b92f4d256c6bd5ae58fd225e (patch) | |
| tree | 745a219e936af91dac0a4d5de2cc0ef5d6c93a6b /shared-module/_stage | |
| parent | 0364f1dc854ff5f30b9ab2a72a406aab684a1d20 (diff) | |
| parent | 7cbae3d20c0f79511a932bbcb2d66d2620b6bb3a (diff) | |
Merge remote-tracking branch 'adafruit/master' into bleio-api-revamp
Diffstat (limited to 'shared-module/_stage')
| -rw-r--r-- | shared-module/_stage/__init__.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/shared-module/_stage/__init__.c b/shared-module/_stage/__init__.c index ca71b758e..2c525be87 100644 --- a/shared-module/_stage/__init__.c +++ b/shared-module/_stage/__init__.c @@ -57,7 +57,7 @@ void render_stage(uint16_t x0, uint16_t y0, uint16_t x1, uint16_t y1, index += 1; // The buffer is full, send it. if (index >= buffer_size) { - display->send(display->bus, false, ((uint8_t*)buffer), + display->core.send(display->core.bus, DISPLAY_DATA, CHIP_SELECT_UNTOUCHED, ((uint8_t*)buffer), buffer_size * 2); index = 0; } @@ -67,6 +67,6 @@ void render_stage(uint16_t x0, uint16_t y0, uint16_t x1, uint16_t y1, } // Send the remaining data. if (index) { - display->send(display->bus, false, ((uint8_t*)buffer), index * 2); + display->core.send(display->core.bus, DISPLAY_DATA, CHIP_SELECT_UNTOUCHED, ((uint8_t*)buffer), index * 2); } } |
