From 8431162ab3b3f490c2492900aa062923a81f52c2 Mon Sep 17 00:00:00 2001 From: Stephen Crane Date: Sun, 3 Mar 2019 14:38:47 +0000 Subject: [PATCH] ... --- tftdisplay.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tftdisplay.cpp b/tftdisplay.cpp index 3676cf4..05cdcf7 100644 --- a/tftdisplay.cpp +++ b/tftdisplay.cpp @@ -7,7 +7,11 @@ #include #include "TinyFont.h" -static UTFT utft(TFT_MODEL, TFT_RS, TFT_WR, TFT_CS, TFT_RST); +#if !defined(TFT_SER) +#define TFT_SER 0 +#endif + +static UTFT utft(TFT_MODEL, TFT_RS, TFT_WR, TFT_CS, TFT_RST, TFT_SER); #elif defined(USE_ESPI) #pragma message "Configure TFT_eSPI in Makefile or User_Setup.h"