WIP fix for non-ESP32 boards

This commit is contained in:
Phillip Burgess 2019-03-01 18:54:34 -08:00
parent fec8f5b9d0
commit 030427ebe5

View File

@ -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