mirror of
https://github.com/Bodmer/TFT_eSPI.git
synced 2025-08-06 14:14:44 +02:00
Returned SPI_MODE3 for the ST7789 driver
This commit is contained in:
@@ -35,7 +35,11 @@
|
||||
#define SPI_READ_FREQUENCY SPI_FREQUENCY
|
||||
#endif
|
||||
|
||||
#define TFT_SPI_MODE SPI_MODE0
|
||||
#ifdef ST7789_DRIVER
|
||||
#define TFT_SPI_MODE SPI_MODE3
|
||||
#else
|
||||
#define TFT_SPI_MODE SPI_MODE0
|
||||
#endif
|
||||
|
||||
// If the frequency is not defined, set a default
|
||||
#ifndef SPI_TOUCH_FREQUENCY
|
||||
|
Reference in New Issue
Block a user