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

Fix G10-G11 by adding a synchronize

Based on #7792 by @tcm0116
Scott Lahteine 7 лет назад
Родитель
Сommit
80a0f935a1
1 измененных файлов: 2 добавлений и 0 удалений
  1. 2
    0
      Marlin/Marlin_main.cpp

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

@@ -3193,6 +3193,8 @@ static void homeaxis(const AxisEnum axis) {
3193 3193
     // The current position will be the destination for E and Z moves
3194 3194
     set_destination_to_current();
3195 3195
 
3196
+    stepper.synchronize(); // Wait for all moves to finish
3197
+
3196 3198
     if (retracting) {
3197 3199
       // Remember the Z height since G-code may include its own Z-hop
3198 3200
       // For best results turn off Z hop if G-code already includes it

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