From be6271767fd06b7a333031e2fbff2cbd711330af Mon Sep 17 00:00:00 2001 From: AnHardt Date: Tue, 13 Nov 2018 00:44:21 +0100 Subject: [PATCH] Fix BABYSTEP_ZPROBE_OFFSET (#12408) Fix #12399 Did not compile without `WATCH_HOTENDS || WATCH_THE_BED`. Add condition to include "../../module/temperature.h". --- Marlin/src/lcd/menu/menu.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Marlin/src/lcd/menu/menu.cpp b/Marlin/src/lcd/menu/menu.cpp index e3d9f09d49..c67dbdb48e 100644 --- a/Marlin/src/lcd/menu/menu.cpp +++ b/Marlin/src/lcd/menu/menu.cpp @@ -36,7 +36,7 @@ #include "../../module/configuration_store.h" #endif -#if WATCH_HOTENDS || WATCH_THE_BED +#if WATCH_HOTENDS || WATCH_THE_BED || ENABLED(BABYSTEP_ZPROBE_OFFSET) #include "../../module/temperature.h" #endif