From f576040a32e5d7a10aa2ef0a36e8eea1d2d7c57b Mon Sep 17 00:00:00 2001 From: Bodmer Date: Sat, 12 Feb 2022 19:09:57 +0000 Subject: [PATCH] Update TFT_eSPI_Generic.h --- Processors/TFT_eSPI_Generic.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Processors/TFT_eSPI_Generic.h b/Processors/TFT_eSPI_Generic.h index 02b5d46..8b31655 100644 --- a/Processors/TFT_eSPI_Generic.h +++ b/Processors/TFT_eSPI_Generic.h @@ -36,10 +36,6 @@ //#include #endif -#ifndef tft_Write_16N - #define tft_Write_16N tft_Write_16 -#endif - //////////////////////////////////////////////////////////////////////////////////////// // Define the DC (TFT Data/Command or Register Select (RS))pin drive code //////////////////////////////////////////////////////////////////////////////////////// @@ -171,6 +167,10 @@ #endif // RPI_DISPLAY_TYPE #endif +#ifndef tft_Write_16N + #define tft_Write_16N tft_Write_16 +#endif + //////////////////////////////////////////////////////////////////////////////////////// // Macros to read from display using SPI or software SPI ////////////////////////////////////////////////////////////////////////////////////////