Make leveling_is_active a macro

This commit is contained in:
Scott Lahteine committed 2017-10-14 02:18:31 -05:00
1 parent 58abc66c1d
commit 9a930ebec2
15 files changed
+47 -54

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 && LEVELING_IS_ACTIVE())
thermalManager.babystep_axis(Z_AXIS, -LROUND(diff * planner.axis_steps_per_mm[Z_AXIS]));
#else
UNUSED(no_babystep);