Update ESP32-VirtualMatrixPanel-I2S-DMA.h

This commit is contained in:
mrfaptastic 2021-12-20 20:56:14 +00:00 committed by GitHub
parent 6aa4e8a070
commit 57f51a8b95
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -133,7 +133,7 @@ inline VirtualCoords VirtualMatrixPanel::getCoords(int16_t &x, int16_t &y) {
} }
// Stupidity check // Stupidity check
if ( vmodule_rows == vmodule_cols == 1) // single panel... if ( (vmodule_rows == 1) && (vmodule_cols == 1)) // single panel...
{ {
coords.x = x; coords.x = x;
coords.y = y; coords.y = y;