Use planner.leveling_active for all leveling systems

This commit is contained in:
Scott Lahteine committed 2017-10-14 02:18:31 -05:00
1 parent 32c607ffe2
commit 3e3911fb81
21 files changed
+143 -180

No files matched your search

+1 -1
View File
@@ -679,7 +679,7 @@ void refresh_zprobe_zoffset(const bool no_babystep/*=false*/) {
#endif
#if ENABLED(BABYSTEP_ZPROBE_OFFSET)
if (!no_babystep && LEVELING_IS_ACTIVE())
if (!no_babystep && planner.leveling_active)
thermalManager.babystep_axis(Z_AXIS, -LROUND(diff * planner.axis_steps_per_mm[Z_AXIS]));
#else
UNUSED(no_babystep);