Browse Source

Fix filament change bug in resume_print

Expected behaviour: while (auto)extruding the new filament, the nozzle should not move. It should move (from filament replacement position to printing position) only after the user has confirmed the successful filament replacement and extrusion.

Actual behaviour: while (auto)extruding the new filament, the nozzle moves from filament replacement position back to printing position.
So the extrusion step is mixed with the movement required to go back to the printing position.

The provided code seems to be working but probably a better fix is required.
MasterPIC 6 years ago
parent
commit
40a4a716e1
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      Marlin/Marlin_main.cpp

+ 2
- 0
Marlin/Marlin_main.cpp View File

@@ -6353,6 +6353,8 @@ inline void gcode_M17() {
6353 6353
       filament_change_beep(max_beep_count, true);
6354 6354
     #endif
6355 6355
 
6356
+    set_destination_to_current();
6357
+
6356 6358
     if (load_length != 0) {
6357 6359
       #if ENABLED(ULTIPANEL)
6358 6360
         // Show "insert filament"

Loading…
Cancel
Save