Просмотр исходного кода

Merge pull request #5154 from thinkyhead/rc_bilinear_splits

Don't define bilinear_line_to_destination on kinematic setups
Scott Lahteine 8 лет назад
Родитель
Сommit
28a039c0e1
1 измененных файлов: 2 добавлений и 2 удалений
  1. 2
    2
      Marlin/Marlin_main.cpp

+ 2
- 2
Marlin/Marlin_main.cpp Просмотреть файл

@@ -8698,7 +8698,7 @@ void set_current_from_steppers_for_axis(const AxisEnum axis) {
8698 8698
     mesh_line_to_destination(fr_mm_s, x_splits, y_splits);
8699 8699
   }
8700 8700
 
8701
-#elif ENABLED(AUTO_BED_LEVELING_BILINEAR)
8701
+#elif ENABLED(AUTO_BED_LEVELING_BILINEAR) && !IS_KINEMATIC
8702 8702
 
8703 8703
   #define CELL_INDEX(A,V) ((RAW_##A##_POSITION(V) - bilinear_start[A##_AXIS]) / bilinear_grid_spacing[A##_AXIS])
8704 8704
 
@@ -8937,7 +8937,7 @@ void set_current_from_steppers_for_axis(const AxisEnum axis) {
8937 8937
     return true;
8938 8938
   }
8939 8939
 
8940
-#else
8940
+#else // !IS_KINEMATIC
8941 8941
 
8942 8942
   /**
8943 8943
    * Prepare a linear move in a Cartesian setup.

Загрузка…
Отмена
Сохранить