From 640e557a18d1b187555440b0196710ae4573a7e7 Mon Sep 17 00:00:00 2001 From: Victor Oliveira Date: Sun, 13 Jun 2021 22:47:38 -0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Include=20common=20TFT=20driver?= =?UTF-8?q?=20macros=20(#22125)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Marlin/src/lcd/tft_io/tft_io.cpp | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/Marlin/src/lcd/tft_io/tft_io.cpp b/Marlin/src/lcd/tft_io/tft_io.cpp index c06e86b28153..29c7da235c0e 100644 --- a/Marlin/src/lcd/tft_io/tft_io.cpp +++ b/Marlin/src/lcd/tft_io/tft_io.cpp @@ -39,12 +39,6 @@ #if TFT_DRIVER == R61505 || TFT_DRIVER == AUTO #include "r65105.h" #endif -#if TFT_DRIVER == ILI9328 || TFT_DRIVER == AUTO - #include "ili9328.h" -#endif -#if TFT_DRIVER == ILI9341 || TFT_DRIVER == AUTO - #include "ili9341.h" -#endif #if TFT_DRIVER == ILI9488 || TFT_DRIVER == ILI9488_ID1 || TFT_DRIVER == AUTO #include "ili9488.h" #endif @@ -52,6 +46,9 @@ #include "ssd1963.h" #endif +#include "ili9341.h" +#include "ili9328.h" + #define DEBUG_OUT ENABLED(DEBUG_GRAPHICAL_TFT) #include "../../core/debug_out.h"