Update TFT_eSPI_RP2040.h

This commit is contained in:
Bodmer authored and GitHub committed 2022-02-12 19:05:33 +00:00
1 parent efd7cc517c
commit 2aa4df5133
1 file changed
+5 -4
+5 -4
View File
@@ -107,10 +107,6 @@
#include <FS.h>
#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
////////////////////////////////////////////////////////////////////////////////////////