diff --git a/Marlin/Configuration.h b/Marlin/Configuration.h index 3634e27fc4..efe272beaf 100644 --- a/Marlin/Configuration.h +++ b/Marlin/Configuration.h @@ -31,7 +31,7 @@ //#define Big_UI // Lightweight status screen -//#define GraphicLCD //Full graphics LCD for Ender 4, CR-X or CR10SPro +#define GraphicLCD //Full graphics LCD for Ender 4, CR-X or CR10SPro //#define ForceCRXDisplay #define Force10SProDisplay @@ -116,7 +116,7 @@ //#define ABL_BI #define ABL_UBL -//#define POWER_LOSS_RECOVERY //Large and does not fit with any other features on Melzi, or UBL on Atmega +#define POWER_LOSS_RECOVERY //Large and does not fit with any other features on Melzi, or UBL on Atmega /* Choose a probe grid density below. Faster probes less points, but is less accurate. diff --git a/Marlin/src/lcd/extensible_ui/lib/Creality_DWIN.cpp b/Marlin/src/lcd/extensible_ui/lib/Creality_DWIN.cpp index 4c81972bdf..6158ddade6 100644 --- a/Marlin/src/lcd/extensible_ui/lib/Creality_DWIN.cpp +++ b/Marlin/src/lcd/extensible_ui/lib/Creality_DWIN.cpp @@ -5,6 +5,7 @@ #include #include "../ui_api.h" +#if ENABLED(EXTENSIBLE_UI) namespace ExtUI { uint8_t waitway_lock = 0; @@ -1931,4 +1932,6 @@ void onConfigurationStoreRead(bool success) rtscheck.RTS_SndData(getZOffset_mm() * 100, 0x1026); } -} // namespace ExtUI \ No newline at end of file +} // namespace ExtUI + +#endif \ No newline at end of file diff --git a/Marlin/src/lcd/extensible_ui/lib/Creality_DWIN.h b/Marlin/src/lcd/extensible_ui/lib/Creality_DWIN.h index 7542f31a63..5914978d23 100644 --- a/Marlin/src/lcd/extensible_ui/lib/Creality_DWIN.h +++ b/Marlin/src/lcd/extensible_ui/lib/Creality_DWIN.h @@ -3,7 +3,7 @@ #include "string.h" #include #include "../ui_api.h" - +#if ENABLED(EXTENSIBLE_UI) namespace ExtUI { /*********************************/ #define FHONE (0x5A) @@ -173,4 +173,5 @@ float targetPos; } #ifndef USER_GCODE_1 #define USER_GCODE_1 "G28" +#endif #endif \ No newline at end of file