From 57f51a8b95c984f22a2e75be56f97fc3247b590a Mon Sep 17 00:00:00 2001 From: mrfaptastic <12006953+mrfaptastic@users.noreply.github.com> Date: Mon, 20 Dec 2021 20:56:14 +0000 Subject: [PATCH] Update ESP32-VirtualMatrixPanel-I2S-DMA.h --- ESP32-VirtualMatrixPanel-I2S-DMA.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;