Fix RPI display issue #892
Prevent 18 bit display serial driver being invoked for RPi display
This commit is contained in:
1 parent
95d1cd89c2
commit
1c4860dec3
7 files changed
+16
-14
No files matched your search
+4
-2
@@ -116,8 +116,10 @@
|
||||
#endif
|
||||
|
||||
// Invoke 18 bit colour for selected displays
|
||||
#if (defined (ILI9481_DRIVER) || defined (ILI9486_DRIVER) || defined (ILI9488_DRIVER)) && !defined (TFT_PARALLEL_8_BIT) && !defined (ESP32_PARALLEL)
|
||||
#define SPI_18BIT_DRIVER
|
||||
#if !defined (RPI_DISPLAY_TYPE) && !defined (TFT_PARALLEL_8_BIT) && !defined (ESP32_PARALLEL)
|
||||
#if defined (ILI9481_DRIVER) || defined (ILI9486_DRIVER) || defined (ILI9488_DRIVER)
|
||||
#define SPI_18BIT_DRIVER
|
||||
#endif
|
||||
#endif
|
||||
|
||||
// Load the right driver definition - do not tinker here !
|
||||
|
||||
Reference in new issue
Block a user