Browse Source

🩹 Fix UBL safe measure move with extra axes

Followup to 7e79fc5b
Scott Lahteine 1 year ago
parent
commit
aaf55a21ad
1 changed files with 2 additions and 2 deletions
  1. 2 2
      Marlin/src/feature/bedlevel/ubl/ubl_G29.cpp

+ 2 - 2
Marlin/src/feature/bedlevel/ubl/ubl_G29.cpp

@@ -883,7 +883,7 @@ void set_message_with_feedback(FSTR_P const fstr) {
     save_ubl_active_state_and_disable();   // Disable bed level correction for probing
 
     do_blocking_move_to(
-      NUM_AXIS_LIST(
+      xyz_pos_t({
         0.5f * ((MESH_MAX_X) - (MESH_MIN_X)),
         0.5f * ((MESH_MAX_Y) - (MESH_MIN_Y)),
         MANUAL_PROBE_START_Z
@@ -905,7 +905,7 @@ void set_message_with_feedback(FSTR_P const fstr) {
         #ifdef SAFE_BED_LEVELING_START_W
           , SAFE_BED_LEVELING_START_W
         #endif
-      )
+      })
       //, _MIN(planner.settings.max_feedrate_mm_s[X_AXIS], planner.settings.max_feedrate_mm_s[Y_AXIS]) * 0.5f
     );
     planner.synchronize();