From 8be302f3edcc2b22c05735be235e3394de762f01 Mon Sep 17 00:00:00 2001 From: mrfaptastic <12006953+mrfaptastic@users.noreply.github.com> Date: Sun, 20 Sep 2020 16:14:35 +0100 Subject: Expose flip/show dma buffer to underlying dma_display instance To avoid confusion / issues. --- ESP32-VirtualMatrixPanel-I2S-DMA.h | 3 +++ 1 file changed, 3 insertions(+) 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(); -- cgit v1.2.3