Skip to content

Commit

Permalink
Merge branch 'Development' of https://github.com/BlueAndi/Pixelix int…
Browse files Browse the repository at this point in the history
…o Development
  • Loading branch information
BlueAndi committed Oct 16, 2024
2 parents 53317f5 + 273e4ce commit f6004fc
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions lib/HalHub75Esp32/src/Display.h
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,14 @@ class Display : public IDisplay
{
Color& color = m_ledMatrix.getColor(x, y);

#if CONFIG_DISPLAY_ROTATE180 != 0
m_panel.drawPixelRGB888(
Board::LedMatrix::width - x - 1,
Board::LedMatrix::height - y - 1,
color.getRed(), color.getGreen(), color.getBlue());
#else
m_panel.drawPixelRGB888(x, y, color.getRed(), color.getGreen(), color.getBlue());
#endif
}
}
}
Expand Down

0 comments on commit f6004fc

Please sign in to comment.