Unverified Commit b5a74a01 authored by Bodmer's avatar Bodmer Committed by GitHub

Fix #301

parent 0b8e9572
...@@ -389,6 +389,7 @@ ...@@ -389,6 +389,7 @@
#if !defined (ESP32_PARALLEL) #if !defined (ESP32_PARALLEL)
// Read from display using SPI or software SPI // Read from display using SPI or software SPI
#if defined (ESP8266) && defined (TFT_SDA_READ) #if defined (ESP8266) && defined (TFT_SDA_READ)
// Use a bit banged function call for ESP8266 and bi-directional SDA pin // Use a bit banged function call for ESP8266 and bi-directional SDA pin
...@@ -398,6 +399,12 @@ ...@@ -398,6 +399,12 @@
// Use a SPI read transfer // Use a SPI read transfer
#define tft_Read_8() spi.transfer(0) #define tft_Read_8() spi.transfer(0)
#endif #endif
// Make sure TFT_MISO is defined if not used to avoid an error message
#ifndef TFT_MISO
#define TFT_MISO -1
#endif
#endif #endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment