Returned SPI_MODE3 for the ST7789 driver
This commit is contained in:
1 parent
8eefc6f26e
commit
7d48498f45
1 file changed
+5
-1
+5
-1
@@ -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