From 7d2ed7936ddcc9202341351e97b45d0e8edced2c Mon Sep 17 00:00:00 2001 From: Jagoda Estera Ślązak Date: Sat, 8 Feb 2025 14:42:47 +0100 Subject: Use 8-bit integers, where larger don't make sense --- src/ESP32-VirtualMatrixPanel-I2S-DMA.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/ESP32-VirtualMatrixPanel-I2S-DMA.h b/src/ESP32-VirtualMatrixPanel-I2S-DMA.h index 8270188..0fe44e3 100644 --- a/src/ESP32-VirtualMatrixPanel-I2S-DMA.h +++ b/src/ESP32-VirtualMatrixPanel-I2S-DMA.h @@ -153,8 +153,8 @@ public: virtual VirtualCoords getCoords(int16_t x, int16_t y); VirtualCoords coords; - uint16_t panelResX; - uint16_t panelResY; + uint8_t panelResX; + uint8_t panelResY; private: MatrixPanel_I2S_DMA *display; @@ -169,8 +169,8 @@ private: uint16_t _virtualResX; ///< Display width as modified by current rotation uint16_t _virtualResY; ///< Display height as modified by current rotation - uint16_t vmodule_rows; - uint16_t vmodule_cols; + uint8_t vmodule_rows; + uint8_t vmodule_cols; uint16_t dmaResX; // The width of the chain in pixels (as the DMA engine sees it) -- cgit v1.3.1