Fix: complie error
This commit is contained in:
parent
49902856bd
commit
48717ce25f
1 changed files with 1 additions and 1 deletions
|
@ -376,7 +376,7 @@ inline VirtualCoords VirtualMatrixPanel::getCoords(int16_t virt_x, int16_t virt_
|
||||||
if (panel_scan_rate == FOUR_SCAN_64PX_HIGH)
|
if (panel_scan_rate == FOUR_SCAN_64PX_HIGH)
|
||||||
{
|
{
|
||||||
// https://github.com/mrfaptastic/ESP32-HUB75-MatrixPanel-DMA/issues/345#issuecomment-1510401192
|
// https://github.com/mrfaptastic/ESP32-HUB75-MatrixPanel-DMA/issues/345#issuecomment-1510401192
|
||||||
if ((virt_y & 8) != ((virt_y & 16) >> 1)) { virt_y = (virt_y & 0b11000) ^ 0b11000 + (virt_y & 0b11100111); }
|
if ((virt_y & 8) != ((virt_y & 16) >> 1)) { virt_y = ((virt_y & 0b11000) ^ 0b11000) + (virt_y & 0b11100111); }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue