From e0dda615012a99e1ad591972b4bbc5238e7361a9 Mon Sep 17 00:00:00 2001 From: ellensp <530024+ellensp@users.noreply.github.com> Date: Mon, 4 Oct 2021 18:25:45 +1300 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Fix=20Arduino=20IDE=20compile=20?= =?UTF-8?q?error=20(#22877)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/lcd/extui/ftdi_eve_touch_ui/language/language.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Marlin/src/lcd/extui/ftdi_eve_touch_ui/language/language.cpp b/Marlin/src/lcd/extui/ftdi_eve_touch_ui/language/language.cpp index d909767526..bf684e43f9 100644 --- a/Marlin/src/lcd/extui/ftdi_eve_touch_ui/language/language.cpp +++ b/Marlin/src/lcd/extui/ftdi_eve_touch_ui/language/language.cpp @@ -21,7 +21,7 @@ #include "../../../../MarlinCore.h" - -#include "language.h" - -uint8_t lang = 0; +#if ENABLED(TOUCH_UI_FTDI_EVE) + #include "language.h" + uint8_t lang = 0; +#endif