From c7ffcc56e49179da43563c2b3abf55fd772c708b Mon Sep 17 00:00:00 2001 From: Stephen Crane Date: Wed, 7 Nov 2018 21:37:56 +0000 Subject: [PATCH] bugfix --- tftdisplay.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }