From 51a6e25151b1e2bb770b41e82034c1fcb2be1c93 Mon Sep 17 00:00:00 2001 From: Bodmer Date: Sat, 12 Feb 2022 19:06:55 +0000 Subject: [PATCH] Update TFT_eSPI_ESP32.h --- Processors/TFT_eSPI_ESP32.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Processors/TFT_eSPI_ESP32.h b/Processors/TFT_eSPI_ESP32.h index c877df6..e1a9124 100644 --- a/Processors/TFT_eSPI_ESP32.h +++ b/Processors/TFT_eSPI_ESP32.h @@ -38,10 +38,6 @@ #define SUPPORT_TRANSACTIONS #endif -#ifndef tft_Write_16N - #define tft_Write_16N tft_Write_16 -#endif - /* ESP32: FSPI not defined @@ -564,6 +560,10 @@ SPI3_HOST = 2 //*/ #endif +#ifndef tft_Write_16N + #define tft_Write_16N tft_Write_16 +#endif + //////////////////////////////////////////////////////////////////////////////////////// // Macros to read from display using SPI or software SPI ////////////////////////////////////////////////////////////////////////////////////////