Update to aid use of ESP32 with multiple displays #687

Fix issue when using ESP32 & using multiple TFT displays & not defining TFT_CS.

Note: Future support for multiple displays in all possible hardware combinations may not be practical.
This commit is contained in:
Bodmer committed 2020-07-09 14:20:34 +01:00
1 parent a6d50ea5ef
commit 90cabab91a
4 files changed
+6 -5

No files matched your search

+3 -2
View File
@@ -115,8 +115,9 @@
// Define the CS (TFT chip select) pin drive code
////////////////////////////////////////////////////////////////////////////////////////
#ifndef TFT_CS
#define CS_L // No macro allocated so it generates no code
#define CS_H // No macro allocated so it generates no code
#define TFT_CS -1 // Keep DMA code happy
#define CS_L // No macro allocated so it generates no code
#define CS_H // No macro allocated so it generates no code
#else
#if defined (TFT_PARALLEL_8_BIT)
#if TFT_CS >= 32