diff options
| author | mrfaptastic <12006953+mrfaptastic@users.noreply.github.com> | 2020-09-20 16:14:35 +0100 |
|---|---|---|
| committer | mrfaptastic <12006953+mrfaptastic@users.noreply.github.com> | 2020-09-20 16:14:35 +0100 |
| commit | 8be302f3edcc2b22c05735be235e3394de762f01 (patch) | |
| tree | 5390169be302c0ee9907e7ccb8ed967c086260a2 | |
| parent | beb0c54cc6805b4a672e1ad16b1ddd799ee00c06 (diff) | |
Expose flip/show dma buffer to underlying dma_display instance
To avoid confusion / issues.
| -rw-r--r-- | ESP32-VirtualMatrixPanel-I2S-DMA.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ESP32-VirtualMatrixPanel-I2S-DMA.h b/ESP32-VirtualMatrixPanel-I2S-DMA.h index a6f36fe..4655866 100644 --- a/ESP32-VirtualMatrixPanel-I2S-DMA.h +++ b/ESP32-VirtualMatrixPanel-I2S-DMA.h @@ -84,6 +84,9 @@ class VirtualMatrixPanel : public Adafruit_GFX uint16_t color333(uint8_t r, uint8_t g, uint8_t b) { return display->color333(r, g, b); } + + void flipDMABuffer() { display->flipDMABuffer(); } + void showDMABuffer() { display->showDMABuffer(); } void drawDisplayTest(); |
