From 42cfa4f48fe274710eac29c0436cb73b8d240468 Mon Sep 17 00:00:00 2001 From: Scott Lahteine Date: Sun, 1 Jan 2023 23:03:22 -0600 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20DGUS=5FLCD=5FUI=20followup?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Followup to #25143 fixing _DGUS_UI_IS --- Marlin/src/core/macros.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Marlin/src/core/macros.h b/Marlin/src/core/macros.h index ca736ba9a9..c20cd17a7e 100644 --- a/Marlin/src/core/macros.h +++ b/Marlin/src/core/macros.h @@ -750,5 +750,5 @@ #define _UI_MKS 104 #define _UI_RELOADED 105 #define _UI_IA_CREALITY 106 -#define _DGUS_UI_IS(N) || (DGUS_LCD_UI == _UI_ ## N) +#define _DGUS_UI_IS(N) || (CAT(_UI_, DGUS_LCD_UI) == CAT(_UI_, N)) #define DGUS_UI_IS(V...) (0 MAP(_DGUS_UI_IS, V))