We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2ba5509 commit 8d7dc5aCopy full SHA for 8d7dc5a
components/tft/tftspi.h
@@ -171,7 +171,7 @@
171
#define TFT_INVERT_ROTATION1 1
172
#define TFT_RGB_BGR 0x00
173
//To be used by user application for initialization
174
-#define TFT_ALLWAYS_INVERTED
+#define TFT_START_COLORS_INVERTED
175
176
#define USE_TOUCH TOUCH_TYPE_NONE
177
main/tft_demo.c
@@ -1344,7 +1344,7 @@ void app_main()
1344
1345
printf("SPI: display init...\r\n");
1346
TFT_display_init();
1347
-#ifdef TFT_ALLWAYS_INVERTED
+#ifdef TFT_START_COLORS_INVERTED
1348
TFT_invertDisplay(1);
1349
#endif
1350
printf("OK\r\n");
0 commit comments