Update ESP32-VirtualMatrixPanel-I2S-DMA.h
This commit is contained in:
parent
6aa4e8a070
commit
57f51a8b95
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue