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 ////////////////////////////////////////////////////////////////////////////////////////