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