From 6eb19cef115eeb2bb6930dee0a773c1c3fade2c6 Mon Sep 17 00:00:00 2001 From: notabucketofspam <43456540+notabucketofspam@users.noreply.github.com> Date: Sat, 4 Jul 2020 20:18:11 -0400 Subject: [PATCH] Fix "'ubl' not declared" error (#18541) --- Marlin/src/gcode/control/M17_M18_M84.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Marlin/src/gcode/control/M17_M18_M84.cpp b/Marlin/src/gcode/control/M17_M18_M84.cpp index 842f301d92..b8dcb9802e 100644 --- a/Marlin/src/gcode/control/M17_M18_M84.cpp +++ b/Marlin/src/gcode/control/M17_M18_M84.cpp @@ -25,7 +25,7 @@ #include "../../lcd/ultralcd.h" #include "../../module/stepper.h" -#if BOTH(AUTO_BED_LEVELING_UBL, ULTRA_LCD) +#if ENABLED(AUTO_BED_LEVELING_UBL) #include "../../feature/bedlevel/bedlevel.h" #endif