SPITFT: ESP8266 fix

This commit is contained in:
Phillip Burgess 2019-05-03 13:59:22 -07:00
parent a453d081b4
commit 0f3f657f43
2 changed files with 5 additions and 2 deletions

View File

@ -537,6 +537,9 @@ void Adafruit_SPITFT::initSPI(uint32_t freq) {
// device needs to be set up before calling this because it's
// immediately followed with initialization commands. Blargh.
if(
#if !defined(SPI_INTERFACES_COUNT)
1
#endif
#if SPI_INTERFACES_COUNT > 0
(hwspi._spi == &SPI)
#endif
@ -556,7 +559,7 @@ void Adafruit_SPITFT::initSPI(uint32_t freq) {
|| (hwspi._spi == &SPI5)
#endif
) {
hwspi._spi->begin();
hwspi._spi->begin();
}
} else if(connection == TFT_SOFT_SPI) {

View File

@ -1,5 +1,5 @@
name=Adafruit GFX Library
version=1.4.12
version=1.4.13
author=Adafruit
maintainer=Adafruit <info@adafruit.com>
sentence=Adafruit GFX graphics core library, this is the 'core' class that all our other graphics libraries derive from.