Browse Source

Temporary workaround for tool-change compile error

Pending a more complete solution to tool-change Z deviation.
Scott Lahteine 7 years ago
parent
commit
b6a55f0891
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      Marlin/src/module/tool_change.cpp

+ 2
- 2
Marlin/src/module/tool_change.cpp View File

@@ -446,7 +446,7 @@ void tool_change(const uint8_t tmp_extruder, const float fr_mm_s/*=0.0*/, bool n
446 446
               hotend_offset[Y_AXIS][tmp_extruder] - hotend_offset[Y_AXIS][active_extruder]
447 447
             };
448 448
 
449
-            #if HAS_MESH
449
+            #if HAS_MESH && PLANNER_LEVELING
450 450
 
451 451
               if (planner.leveling_active) {
452 452
                 #if ENABLED(DEBUG_LEVELING_FEATURE)
@@ -464,7 +464,7 @@ void tool_change(const uint8_t tmp_extruder, const float fr_mm_s/*=0.0*/, bool n
464 464
                 #endif
465 465
               }
466 466
 
467
-            #endif // HAS_MESH
467
+            #endif // HAS_MESH && PLANNER_LEVELING
468 468
 
469 469
           #endif // !HAS_ABL
470 470
 

Loading…
Cancel
Save