TFT: Restore ILI9341 colors and reversed logic (#19010)

Followup to #18877, #18901, #18817
This commit is contained in:
Tanguy Pruvot
2020-08-14 05:32:01 +02:00
committed by GitHub
parent f01cb240d7
commit 567d77f1cb
2 changed files with 10 additions and 1 deletions

View File

@ -130,6 +130,12 @@
#define DOGLCD_MOSI -1 // Prevent auto-define by Conditionals_post.h
#define DOGLCD_SCK -1
#define FSMC_UPSCALE 2
#define LCD_FULL_PIXEL_WIDTH 320
#define LCD_FULL_PIXEL_HEIGHT 240
#define LCD_PIXEL_OFFSET_X 32
#define LCD_PIXEL_OFFSET_Y 32
/**
* Note: Alfawise U20/U30 boards DON'T use SPI2, as the hardware designer
* mixed up MOSI and MISO pins. SPI is managed in SW, and needs pins