Commit 7d48498f authored by Andriy Makukha's avatar Andriy Makukha

Returned SPI_MODE3 for the ST7789 driver

parent 8eefc6f2
...@@ -35,7 +35,11 @@ ...@@ -35,7 +35,11 @@
#define SPI_READ_FREQUENCY SPI_FREQUENCY #define SPI_READ_FREQUENCY SPI_FREQUENCY
#endif #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 // If the frequency is not defined, set a default
#ifndef SPI_TOUCH_FREQUENCY #ifndef SPI_TOUCH_FREQUENCY
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment