Update OneEighthScanMatrixPanel.h

This commit is contained in:
mrfaptastic 2021-10-10 23:03:37 +01:00
parent 27e49c2577
commit 15cd0a7563

View file

@ -157,8 +157,8 @@ inline VirtualCoords OneEighthMatrixPanel::getCoords(int16_t x, int16_t y) {
} }
// Half the y coord. // Half the y coord.
y = (i % 8); coords.y = (y % 8);
if ( i >= panelResY/2 ) y +=8; if ( y >= panelResY/2 ) coords.y +=8;
/* /*
* END: 1/8 Scan Panel Pixel Re-Mapping * END: 1/8 Scan Panel Pixel Re-Mapping