Skip to content
Snippets Groups Projects
Commit 50e77bd9 authored by ftomi's avatar ftomi
Browse files

Fix y coord

parent c018d88b
Branches master
No related tags found
No related merge requests found
......@@ -3,7 +3,7 @@
bool SpiFrame::LedCoordToPixel(const MxFrame &mxframe, int bitpos,
int colorbit, enum eColor color, int column)
{
int y = 2*bitpos;
int y = 2*(12 - bitpos);
int x = column;
if (column >= 32)
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment