diff options
| author | mrfaptastic <12006953+mrfaptastic@users.noreply.github.com> | 2020-08-24 18:33:53 +0100 |
|---|---|---|
| committer | mrfaptastic <12006953+mrfaptastic@users.noreply.github.com> | 2020-08-24 18:33:53 +0100 |
| commit | 320e47193b44e1401810a9d4c8e4c1ebb44e976d (patch) | |
| tree | d796b440fd21c1ca6d9ca1966cedc73b87900aab | |
| parent | 43913150feef950ea998bc380bf662c2444d3910 (diff) | |
Fixes
| -rw-r--r-- | ESP32-VirtualMatrixPanel-I2S-DMA.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ESP32-VirtualMatrixPanel-I2S-DMA.h b/ESP32-VirtualMatrixPanel-I2S-DMA.h index 12c64bc..a6f36fe 100644 --- a/ESP32-VirtualMatrixPanel-I2S-DMA.h +++ b/ESP32-VirtualMatrixPanel-I2S-DMA.h @@ -72,7 +72,7 @@ class VirtualMatrixPanel : public Adafruit_GFX } void drawPixelRGB565(int16_t x, int16_t y, uint16_t color); void drawPixelRGB888(int16_t x, int16_t y, uint8_t r, uint8_t g, uint8_t b); - void drawPixelRGB24(int16_t x, int16_t y, rgb_24 color); + void drawPixelRGB24(int16_t x, int16_t y, RGB24 color); void drawIcon (int *ico, int16_t x, int16_t y, int16_t module_cols, int16_t module_rows); uint16_t color444(uint8_t r, uint8_t g, uint8_t b) { @@ -81,8 +81,8 @@ class VirtualMatrixPanel : public Adafruit_GFX uint16_t color565(uint8_t r, uint8_t g, uint8_t b) { return display->color565(r, g, b); } - uint16_t Color333(uint8_t r, uint8_t g, uint8_t b) { - return display->Color333(r, g, b); + uint16_t color333(uint8_t r, uint8_t g, uint8_t b) { + return display->color333(r, g, b); } void drawDisplayTest(); @@ -160,7 +160,7 @@ inline void VirtualMatrixPanel::drawPixelRGB888(int16_t x, int16_t y, uint8_t r, this->display->drawPixelRGB888( coords.x, coords.y, r, g, b); } -inline void VirtualMatrixPanel::drawPixelRGB24(int16_t x, int16_t y, rgb_24 color) +inline void VirtualMatrixPanel::drawPixelRGB24(int16_t x, int16_t y, RGB24 color) { VirtualCoords coords = getCoords(x, y); this->display->drawPixelRGB24(coords.x, coords.y, color); |
