Update OneEighthScanMatrixPanel.h
This commit is contained in:
parent
27e49c2577
commit
15cd0a7563
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue