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
@@ -464,7 +464,7 @@ void tool_change(const uint8_t tmp_extruder, const float fr_mm_s/*=0.0*/, bool n
#if ENABLED(MESH_BED_LEVELING)
if (LEVELING_IS_ACTIVE()) {
if (planner.leveling_active) {
#if ENABLED(DEBUG_LEVELING_FEATURE)
if (DEBUGGING(LEVELING)) SERIAL_ECHOPAIR("Z before MBL: ", current_position[Z_AXIS]);
#endif