diff options
| author | mrfaptastic <12006953+mrfaptastic@users.noreply.github.com> | 2021-12-20 20:56:14 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-12-20 20:56:14 +0000 |
| commit | 57f51a8b95c984f22a2e75be56f97fc3247b590a (patch) | |
| tree | 1f7193e351206a107850a4660d1d973fec2d6a68 | |
| parent | 6aa4e8a070f6f7fb6f130ab4509d85277b119a9c (diff) | |
Update ESP32-VirtualMatrixPanel-I2S-DMA.h
| -rw-r--r-- | ESP32-VirtualMatrixPanel-I2S-DMA.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ESP32-VirtualMatrixPanel-I2S-DMA.h b/ESP32-VirtualMatrixPanel-I2S-DMA.h index 80c119e..a34c2b2 100644 --- a/ESP32-VirtualMatrixPanel-I2S-DMA.h +++ b/ESP32-VirtualMatrixPanel-I2S-DMA.h @@ -133,7 +133,7 @@ inline VirtualCoords VirtualMatrixPanel::getCoords(int16_t &x, int16_t &y) { } // Stupidity check - if ( vmodule_rows == vmodule_cols == 1) // single panel... + if ( (vmodule_rows == 1) && (vmodule_cols == 1)) // single panel... { coords.x = x; coords.y = y; |
