Unverified Commit 3d2b9ae3 authored by Bodmer's avatar Bodmer Committed by GitHub

Merge pull request #2126 from goodsoft/patch-1

Fix typo and remove unnecessary error in TFT_config.h
parents 67e41c75 6c74d552
...@@ -78,7 +78,7 @@ ...@@ -78,7 +78,7 @@
#define TFT_RGB_ORDER TFT_RGB #define TFT_RGB_ORDER TFT_RGB
#endif #endif
#ifdef CONFIG_TFT_RGB_ORDER #ifdef CONFIG_TFT_BGR_ORDER
#define TFT_RGB_ORDER TFT_BGR #define TFT_RGB_ORDER TFT_BGR
#endif #endif
...@@ -223,9 +223,7 @@ ...@@ -223,9 +223,7 @@
// SPI BUS // SPI BUS
#else #else
#if CONFIG_TFT_MISO == -1 #if CONFIG_TFT_MISO != -1
#error "Invalid MISO pin. Check TFT_eSPI configuration"
#else
#define TFT_MISO CONFIG_TFT_MISO #define TFT_MISO CONFIG_TFT_MISO
#endif #endif
......
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