Fix #417 and add for 135x240 display

Setup 135 is for TTGO T Display (ESP32)
Plus minor tweaks to avoid some warnings
This commit is contained in:
Bodmer committed 2019-10-07 17:56:17 +01:00
1 parent 9a84fb156b
commit d3210a7ee6
7 files changed
+59 -8

No files matched your search

+2 -2
View File
@@ -35,9 +35,9 @@
// If it is a 16bit serial display we must transfer 16 bits every time
#ifdef RPI_ILI9486_DRIVER
#define CMD_BITS 16-1
#define CMD_BITS (16-1)
#else
#define CMD_BITS 8-1
#define CMD_BITS (8-1)
#endif
// Fast block write prototype