Преглед изворни кода

motion.cpp: HAS_DIST_MM_ARG

Scott Lahteine пре 5 година
родитељ
комит
dd6781217a
1 измењених фајлова са 2 додато и 2 уклоњено
  1. 2
    2
      Marlin/src/module/motion.cpp

+ 2
- 2
Marlin/src/module/motion.cpp Прегледај датотеку

@@ -1345,13 +1345,13 @@ void do_homing_move(const AxisEnum axis, const float distance, const feedRate_t
1345 1345
     planner.set_machine_position_mm(target);
1346 1346
     target[axis] = distance;
1347 1347
 
1348
-    #if IS_KINEMATIC && DISABLED(CLASSIC_JERK)
1348
+    #if HAS_DIST_MM_ARG
1349 1349
       const xyze_float_t cart_dist_mm{0};
1350 1350
     #endif
1351 1351
 
1352 1352
     // Set delta/cartesian axes directly
1353 1353
     planner.buffer_segment(target
1354
-      #if IS_KINEMATIC && DISABLED(CLASSIC_JERK)
1354
+      #if HAS_DIST_MM_ARG
1355 1355
         , cart_dist_mm
1356 1356
       #endif
1357 1357
       , real_fr_mm_s, active_extruder

Loading…
Откажи
Сачувај