diff --git a/tftdisplay.cpp b/tftdisplay.cpp index 3dccabe..6317fe3 100644 --- a/tftdisplay.cpp +++ b/tftdisplay.cpp @@ -101,6 +101,6 @@ void TFTDisplay::drawPixel(unsigned x, unsigned y, colour_t col) { utft.setColor(col); utft.drawPixel(x, y); #elif defined(USE_ESPI) - espi.drawPixel(x, y, col); + espi.drawPixel(_dx - x, y, col); #endif }