From 7479f7e680547ca449c26a9839ef191b40c19f9b Mon Sep 17 00:00:00 2001 From: Bodmer Date: Mon, 4 Feb 2019 01:48:53 +0000 Subject: [PATCH] Fix transparent Sprite rendering --- TFT_eSPI.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TFT_eSPI.cpp b/TFT_eSPI.cpp index 0681144..0902360 100644 --- a/TFT_eSPI.cpp +++ b/TFT_eSPI.cpp @@ -60,7 +60,7 @@ inline void TFT_eSPI::spi_end(void){ #if defined (SPI_HAS_TRANSACTION) && defined (SUPPORT_TRANSACTIONS) && !defined(ESP32_PARALLEL) if(!inTransaction) {if (!locked) {locked = true; CS_H; spi.endTransaction();}} #else - CS_H; + if(!inTransaction) CS_H; #endif }