浏览代码

Don't call adjust_delta on SCARA

Scott Lahteine 9 年前
父节点
当前提交
b6afa028f4
共有 2 个文件被更改,包括 4 次插入4 次删除
  1. 3
    3
      Marlin/Marlin_main.cpp
  2. 1
    1
      Marlin/planner_bezier.cpp

+ 3
- 3
Marlin/Marlin_main.cpp 查看文件

7998
 
7998
 
7999
       inverse_kinematics(target);
7999
       inverse_kinematics(target);
8000
 
8000
 
8001
-      #if ENABLED(AUTO_BED_LEVELING_FEATURE)
8001
+      #if ENABLED(DELTA) && ENABLED(AUTO_BED_LEVELING_FEATURE)
8002
         if (!bed_leveling_in_progress) adjust_delta(target);
8002
         if (!bed_leveling_in_progress) adjust_delta(target);
8003
       #endif
8003
       #endif
8004
 
8004
 
8248
 
8248
 
8249
       #if ENABLED(DELTA) || ENABLED(SCARA)
8249
       #if ENABLED(DELTA) || ENABLED(SCARA)
8250
         inverse_kinematics(arc_target);
8250
         inverse_kinematics(arc_target);
8251
-        #if ENABLED(AUTO_BED_LEVELING_FEATURE)
8251
+        #if ENABLED(DELTA) && ENABLED(AUTO_BED_LEVELING_FEATURE)
8252
           adjust_delta(arc_target);
8252
           adjust_delta(arc_target);
8253
         #endif
8253
         #endif
8254
         planner.buffer_line(delta[X_AXIS], delta[Y_AXIS], delta[Z_AXIS], arc_target[E_AXIS], fr_mm_s, active_extruder);
8254
         planner.buffer_line(delta[X_AXIS], delta[Y_AXIS], delta[Z_AXIS], arc_target[E_AXIS], fr_mm_s, active_extruder);
8260
     // Ensure last segment arrives at target location.
8260
     // Ensure last segment arrives at target location.
8261
     #if ENABLED(DELTA) || ENABLED(SCARA)
8261
     #if ENABLED(DELTA) || ENABLED(SCARA)
8262
       inverse_kinematics(target);
8262
       inverse_kinematics(target);
8263
-      #if ENABLED(AUTO_BED_LEVELING_FEATURE)
8263
+      #if ENABLED(DELTA) && ENABLED(AUTO_BED_LEVELING_FEATURE)
8264
         adjust_delta(target);
8264
         adjust_delta(target);
8265
       #endif
8265
       #endif
8266
       planner.buffer_line(delta[X_AXIS], delta[Y_AXIS], delta[Z_AXIS], target[E_AXIS], fr_mm_s, active_extruder);
8266
       planner.buffer_line(delta[X_AXIS], delta[Y_AXIS], delta[Z_AXIS], target[E_AXIS], fr_mm_s, active_extruder);

+ 1
- 1
Marlin/planner_bezier.cpp 查看文件

190
 
190
 
191
     #if ENABLED(DELTA) || ENABLED(SCARA)
191
     #if ENABLED(DELTA) || ENABLED(SCARA)
192
       inverse_kinematics(bez_target);
192
       inverse_kinematics(bez_target);
193
-      #if ENABLED(AUTO_BED_LEVELING_FEATURE)
193
+      #if ENABLED(DELTA) && ENABLED(AUTO_BED_LEVELING_FEATURE)
194
         adjust_delta(bez_target);
194
         adjust_delta(bez_target);
195
       #endif
195
       #endif
196
       planner.buffer_line(delta[X_AXIS], delta[Y_AXIS], delta[Z_AXIS], bez_target[E_AXIS], fr_mm_s, extruder);
196
       planner.buffer_line(delta[X_AXIS], delta[Y_AXIS], delta[Z_AXIS], bez_target[E_AXIS], fr_mm_s, extruder);

正在加载...
取消
保存