From 030427ebe52c82524060f457f3506cc2f9d13877 Mon Sep 17 00:00:00 2001 From: Phillip Burgess Date: Fri, 1 Mar 2019 18:54:34 -0800 Subject: [PATCH] WIP fix for non-ESP32 boards --- Adafruit_SPITFT.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Adafruit_SPITFT.cpp b/Adafruit_SPITFT.cpp index dfe9641..52a9791 100644 --- a/Adafruit_SPITFT.cpp +++ b/Adafruit_SPITFT.cpp @@ -1631,8 +1631,8 @@ inline void Adafruit_SPITFT::SPI_SCK_LOW(void) { *swspi.sckPort &= swspi.sckPinMaskClr; #endif // end !HAS_PORT_SET_CLR #else // !USE_FAST_PINIO - #if defined(ESP32) digitalWrite(swspi._sck, LOW); + #if defined(ESP32) for(volatile uint8_t i=0; i<1; i++); #endif // end ESP32 #endif // end !USE_FAST_PINIO