diff options
| author | Jagoda Estera Ślązak <jslazak@jslazak.com> | 2025-02-08 14:42:47 +0100 |
|---|---|---|
| committer | Jagoda Estera Ślązak <jslazak@jslazak.com> | 2025-02-08 14:42:47 +0100 |
| commit | 7d2ed7936ddcc9202341351e97b45d0e8edced2c (patch) | |
| tree | 0e1e5ef3051ca1472ca555f201c5916f174f0cd4 /src | |
| parent | 4695ed3a0f8a4f1668cdb0717bc4cfb8da3b6589 (diff) | |
Use 8-bit integers, where larger don't make sense
Diffstat (limited to 'src')
| -rw-r--r-- | src/ESP32-VirtualMatrixPanel-I2S-DMA.h | 8 |
1 files 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) |
