Parcourir la source

Z correction on tool-change for all HAS_MESH (#10199)

Scott Lahteine il y a 7 ans
Parent
révision
bb7236a750
Aucun compte lié à l'adresse e-mail de l'auteur
1 fichiers modifiés avec 3 ajouts et 3 suppressions
  1. 3
    3
      Marlin/src/module/tool_change.cpp

+ 3
- 3
Marlin/src/module/tool_change.cpp Voir le fichier

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 ENABLED(MESH_BED_LEVELING)
449
+            #if HAS_MESH
450
 
450
 
451
               if (planner.leveling_active) {
451
               if (planner.leveling_active) {
452
                 #if ENABLED(DEBUG_LEVELING_FEATURE)
452
                 #if ENABLED(DEBUG_LEVELING_FEATURE)
453
-                  if (DEBUGGING(LEVELING)) SERIAL_ECHOPAIR("Z before MBL: ", current_position[Z_AXIS]);
453
+                  if (DEBUGGING(LEVELING)) SERIAL_ECHOPAIR("Z before: ", current_position[Z_AXIS]);
454
                 #endif
454
                 #endif
455
                 float x2 = current_position[X_AXIS] + xydiff[X_AXIS],
455
                 float x2 = current_position[X_AXIS] + xydiff[X_AXIS],
456
                       y2 = current_position[Y_AXIS] + xydiff[Y_AXIS],
456
                       y2 = current_position[Y_AXIS] + xydiff[Y_AXIS],
464
                 #endif
464
                 #endif
465
               }
465
               }
466
 
466
 
467
-            #endif // MESH_BED_LEVELING
467
+            #endif // HAS_MESH
468
 
468
 
469
           #endif // !HAS_ABL
469
           #endif // !HAS_ABL
470
 
470
 

Chargement…
Annuler
Enregistrer