diff --git a/Processors/TFT_eSPI_RP2040.h b/Processors/TFT_eSPI_RP2040.h index 3a461f9..5d12db0 100644 --- a/Processors/TFT_eSPI_RP2040.h +++ b/Processors/TFT_eSPI_RP2040.h @@ -107,10 +107,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 //////////////////////////////////////////////////////////////////////////////////////// @@ -362,6 +358,11 @@ #define tft_Write_32D(C) WAIT_FOR_FIFO_FREE(2); TX_FIFO = (C); TX_FIFO = (C) #endif + +#ifndef tft_Write_16N + #define tft_Write_16N tft_Write_16 +#endif + //////////////////////////////////////////////////////////////////////////////////////// // Macros to read from display using SPI or software SPI ////////////////////////////////////////////////////////////////////////////////////////