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
               hotend_offset[Y_AXIS][tmp_extruder] - hotend_offset[Y_AXIS][active_extruder]
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
               if (planner.leveling_active) {
451
               if (planner.leveling_active) {
452
                 #if ENABLED(DEBUG_LEVELING_FEATURE)
452
                 #if ENABLED(DEBUG_LEVELING_FEATURE)
464
                 #endif
464
                 #endif
465
               }
465
               }
466
 
466
 
467
-            #endif // HAS_MESH
467
+            #endif // HAS_MESH && PLANNER_LEVELING
468
 
468
 
469
           #endif // !HAS_ABL
469
           #endif // !HAS_ABL
470
 
470
 

Loading…
Cancel
Save