Fix BABYSTEP_ZPROBE_OFFSET (#12408)

Fix #12399

Did not compile without  `WATCH_HOTENDS || WATCH_THE_BED`.
Add condition to include "../../module/temperature.h".
This commit is contained in:
AnHardt 2018-11-13 00:44:21 +01:00 committed by Scott Lahteine
parent 50af1d1e08
commit be6271767f

View File

@ -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