From de3c7490c2d85523cd25714f5cb18da58de6d242 Mon Sep 17 00:00:00 2001 From: Bodmer Date: Sat, 12 Feb 2022 19:11:17 +0000 Subject: [PATCH] Update TFT_eSPI_STM32.h --- Processors/TFT_eSPI_STM32.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Processors/TFT_eSPI_STM32.h b/Processors/TFT_eSPI_STM32.h index 13d74f8..8e5f7cb 100644 --- a/Processors/TFT_eSPI_STM32.h +++ b/Processors/TFT_eSPI_STM32.h @@ -22,10 +22,6 @@ #define SUPPORT_TRANSACTIONS #endif -#ifndef tft_Write_16N - #define tft_Write_16N tft_Write_16 -#endif - //////////////////////////////////////////////////////////////////////////////////////// // Define the parallel bus interface chip pin drive code //////////////////////////////////////////////////////////////////////////////////////// @@ -1066,6 +1062,10 @@ #endif +#ifndef tft_Write_16N + #define tft_Write_16N tft_Write_16 +#endif + //////////////////////////////////////////////////////////////////////////////////////// // Macros to read from display using SPI or software SPI ////////////////////////////////////////////////////////////////////////////////////////