mirror of
https://github.com/adafruit/Adafruit-GFX-Library.git
synced 2024-10-03 18:18:46 -04:00
WIP fix for non-ESP32 boards
This commit is contained in:
parent
fec8f5b9d0
commit
030427ebe5
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user